[GitHub] [hudi] aditiwari01 commented on issue #2801: Issues with Hive querying on MOR tables with no partitions

2021-04-12 Thread GitBox


aditiwari01 commented on issue #2801:
URL: https://github.com/apache/hudi/issues/2801#issuecomment-817537973


   Issue resolved after using correct key generator class. Closing the issue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hudi] aditiwari01 commented on issue #2801: Issues with Hive querying on MOR tables with no partitions

2021-04-10 Thread GitBox


aditiwari01 commented on issue #2801:
URL: https://github.com/apache/hudi/issues/2801#issuecomment-817139358


   Please ignore the above comment. The empty result from hive was due to me 
missinng one of the configs.
   
   Everything is working as expected after changing the default value of 
`HoodieHiveUtils.DEFAULT_LEVELS_TO_BASEPATH` to 0 (currennt value 3), as 
explained in first comment.
   
   I think we should permanently change this to 0. 3 looks like a random 
number. Also I have confirmed that this default is not used anywhere other than 
the code snippet I've mentioned.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org




[GitHub] [hudi] aditiwari01 commented on issue #2801: Issues with Hive querying on MOR tables with no partitions

2021-04-10 Thread GitBox


aditiwari01 commented on issue #2801:
URL: https://github.com/apache/hudi/issues/2801#issuecomment-817120596


   Update:
   
   After setting default to 0 in case of no partition, I am able to avoid above 
error and able to get Table meta correctly. However, now select * query on hive 
return empty dataset. 
   From logs I can see that `.HoodieInputFormatUtils: Total paths to process 
after hoodie filter 0`.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org