Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jpress committed May 30, 2014
1 parent ab8191e commit 490628e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataloader/loader.q
Expand Up @@ -56,7 +56,7 @@ loaddata:{[filename;rawdata]
out"Writing ",(string count towrite)," rows to ",string writepath;

// splay the table - use an error trap
.[upsert;(writepath;data);{out"ERROR - failed to save table: ",x}];
.[upsert;(writepath;towrite);{out"ERROR - failed to save table: ",x}];

// make sure the written path is in the partition dictionary
partitions[writepath]:date;
Expand Down

0 comments on commit 490628e

Please sign in to comment.