I have one doubt regarding bucketing in hive. I have created one temporary table which is bucketed on column key.
Through spark SQL I am inserting data into this temporary table. I have enabled the hive.enforce.bucketing to true in spark session.
When I check the base directory for this table, it is showing the file name prefixed with part_*.
However when I am manually inserting the data into this table through some another table, I am seeing the the files prefixed 00000_*.
I am not sure if spark sql is writing the data in buckets.
Can someone please help.
Thanks,