Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: One to Many is Too Many?

by apl (Monsignor)
on Apr 22, 2008 at 20:04 UTC ( [id://682263]=note: print w/replies, xml ) Need Help??


in reply to One to Many is Too Many?

Hint: You want a hash keyed on the BugID from BUGS.csv

Given that, which file do you think you'd need to read first?

After you've processed the entire first file, how would you process the second file?

After processing the second file, what would you have to do to complete your processing?

Replies are listed 'Best First'.
Re^2: One to Many is Too Many?
by Roy Johnson (Monsignor) on Apr 22, 2008 at 21:35 UTC
    Considering the desired output, there's only one file that needs to be read.

    Caution: Contents may have been coded under pressure.
      I agree and disagree. You're correct that all necessary information is contained in a single file. However, if I were migrating (as the OP is), I'd want to be able to say "Hey, I found the following Bug_Comments.csv record that does not have an associated Bugs.csv record!".

      There may be more information in the first file that will be merged, but was not not being provided for the sake of brevity. In any event, I'm being pedantic. 8-)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://682263]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (2)
As of 2024-04-19 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found