I have created on azure blob storage a parquet file structure with Apache Spark on HD Insight. This is the structure:
/root
/sitename=www.site1.com
/datekey=20160101
log-01-file.parquet
/sitename=www.site2.com
/datekey=29160192
We want to use Apache Drill in order to run queries againts this parquet structure but we found a few issues.
When running this query
SELECT datekey FROM azure.root.`./root` WHERE sitename='www.mysite.com' GROUP BY datekey
We get this error
"org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: NumberFormatException: www.trovaprezzi.it Fragment 2:2"
What could be the cause of the error?
Again, when running queries without WHERE clause seems that partitions key are seen as null values.
SELECT sitename, COUNT(*) as N FROM azure.root.`./root` GROUP BY sitename
|sitename|N
|NULL |100000|
Does anyone experimented this issue? Any help will be really appreciated.
Thanks Rob