Re: SparkSQL not able to read a empty table location

2017-05-21 Thread Bajpai, Amit X. -ND
to be processed the query will again fail. How to deal with this scenario. From: Sea <261810...@qq.com> Date: Sunday, May 21, 2017 at 8:04 AM To: Steve Loughran <ste...@hortonworks.com>, "Bajpai, Amit X. -ND" <amit.x.bajpai@disney.com> Cc: "user@spark.apache.org&quo

SparkSQL not able to read a empty table location

2017-05-19 Thread Bajpai, Amit X. -ND
Hi, I have a hive external table with the S3 location having no files (but the S3 location directory does exists). When I am trying to use Spark SQL to count the number of records in the table it is throwing error saying “File s3n://data/xyz does not exist. null/0”. select * from tablex limit