You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pig.apache.org by pr...@apache.org on 2009/11/23 22:29:29 UTC
svn commit: r883505 -
/hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java
Author: pradeepkth
Date: Mon Nov 23 21:29:28 2009
New Revision: 883505
URL: http://svn.apache.org/viewvc?rev=883505&view=rev
Log:
removed redundant call to setLocation in LOLoad
Modified:
hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java
Modified: hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java
URL: http://svn.apache.org/viewvc/hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java?rev=883505&r1=883504&r2=883505&view=diff
==============================================================================
--- hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java (original)
+++ hadoop/pig/branches/load-store-redesign/src/org/apache/pig/impl/logicalLayer/LOLoad.java Mon Nov 23 21:29:28 2009
@@ -172,13 +172,11 @@
// should use Configuration directly by passing a
// Configuration object while creating LOLoad rather than
// a DataStorage object
- mLoadFunc.setLocation(mInputFileSpec.getFileName(),
- new Job(ConfigurationUtil.toConfiguration(
- mStorage.getConfiguration())));
LoadMetadata loadMetadata = (LoadMetadata)mLoadFunc;
ResourceSchema rSchema = loadMetadata.getSchema(
mInputFileSpec.getFileName(),
- ConfigurationUtil.toConfiguration(mStorage.getConfiguration()));
+ ConfigurationUtil.toConfiguration(
+ mStorage.getConfiguration()));
return Schema.getPigSchema(rSchema);
} else {
return null;