Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread Mich Talebzadeh
Unfortunately it is the case for now spark-sql> show create table payees; Error in query: Failed to execute SHOW CREATE TABLE against table `accounts`.`payees`, which is created by Hive and uses the following unsupported feature(s) - bucketing; HTH Dr Mich Talebzadeh LinkedIn *

Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread manish jaiswal
correct its creating delta file in hdfs.but after compaction it merge all data and create extra directory where all bucketed data present.( i am able to read data from hive but not from sparksql).

Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread manish jaiswal
i am using spark 1.6.0 and hive 1.2.1. reading from hive transactional table is not supported yet by sparl sql? On Tue, Aug 9, 2016 at 12:18 AM, manish jaiswal wrote: > Hi, > > I am not able to read data from hive transactional table using sparksql. > (i don't want read

Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread Mich Talebzadeh
I suspect this is happening because the underlying table has got delta files in it due to updates etc and spark cannot read it and requires compaction Can you do hdfs dfs -ls Also can you query a normal table in hive (meaning non transactional) HTH Dr Mich Talebzadeh LinkedIn *

Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread Deepak Sharma
Can you please post the code snippet and the error you are getting ? -Deepak On 9 Aug 2016 12:18 am, "manish jaiswal" wrote: > Hi, > > I am not able to read data from hive transactional table using sparksql. > (i don't want read via hive jdbc) > > > > Please help. >

Re: SPARK SQL READING FROM HIVE

2016-08-08 Thread Mich Talebzadeh
Which version of Spark and Hive are you using? Dr Mich Talebzadeh LinkedIn * https://www.linkedin.com/profile/view?id=AAEWh2gBxianrbJd6zP6AcPCCdOABUrV8Pw * http://talebzadehmich.wordpress.com

SPARK SQL READING FROM HIVE

2016-08-08 Thread manish jaiswal
Hi, I am not able to read data from hive transactional table using sparksql. (i don't want read via hive jdbc) Please help.