[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-07-09 Thread kevinyu98
Github user kevinyu98 commented on the issue:

https://github.com/apache/spark/pull/21285
  
close this pr, pr#20611 has combined this fix into his. 


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-06-08 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21285
  
Can one of the admins verify this patch?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-10 Thread kevinyu98
Github user kevinyu98 commented on the issue:

https://github.com/apache/spark/pull/21285
  
@HyukjinKwon thanks for reviewing this pr. I didn't notice that pr until 
you point out. If we plan to support wildcard in the LOAD DATA command, then we 
can close this PR. 
But with his current code, the problem reported by this JIRA still exists, 
because for the non-local case, the Path will be truncate after `val srcPath = 
new Path(loadPath)`. I download his code, and it still have the same issue as 
this pr reported.
I create text1.txt on my local machine, then run LOAD DATA
`load data inpath '/Users/qianyangyu/IdeaProjects/spark/??xt1.txt' into 
table foo1;' ` successful, but it didn't load data into the table
`load data inpath '/Users/qianyangyu/IdeaProjects/spark/t?xt1.txt' into 
table foo1;` failed
`spark-sql> load data inpath 
'/Users/qianyangyu/IdeaProjects/spark/??xt1.txt' into table foo1;
Time taken: 0.112 seconds

spark-sql> select * from foo1;
18/05/09 23:23:51 INFO DAGScheduler: Job 1 finished: processCmd at 
CliDriver.java:376, took 0.29 s
Time taken: 0.056 seconds
18/05/09 23:23:51 INFO SparkSQLCLIDriver: Time taken: 0.056 seconds

spark-sql> load data inpath 
'/Users/qianyangyu/IdeaProjects/spark/t?xt1.txt' into table foo1;
Error in query: LOAD DATA input path does not exist: 
/Users/qianyangyu/IdeaProjects/spark/t?xt1.txt;
`


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-09 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue:

https://github.com/apache/spark/pull/21285
  
cc @wzhfy and @sujith71955


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-09 Thread HyukjinKwon
Github user HyukjinKwon commented on the issue:

https://github.com/apache/spark/pull/21285
  
is it a duplicate of https://github.com/apache/spark/pull/20611?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-09 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21285
  
Can one of the admins verify this patch?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org



[GitHub] spark issue #21285: [SPARK-24176][SQL] LOAD DATA can't identify wildcard in ...

2018-05-09 Thread AmplabJenkins
Github user AmplabJenkins commented on the issue:

https://github.com/apache/spark/pull/21285
  
Can one of the admins verify this patch?


---

-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org