Root path does not exist

Problem :

When you execute your query you are getting below error.

  Root path does not exist

Root path of the dataset does not exist

Solution:

Please check you query it may be possibility of below cause.


 Database.table in query name even you input dataset not synced with database or any metastoredb

example :

select * from  db1.abc

Confirm if abc is table of database db. I will possible that data saved on HDFS only. In that case you need to only table e.g

select * from abc 



Comments

Popular posts from this blog

Date format issue with spark sql

Hive Partition sub folders HIVE_UNION_SUBDIR_1,HIVE_UNION_SUBDIR_2,HIVE_UNION_SUBDIR_8

Dataiku and Dremio date difference