Error while querying hive table with map datatype in Spark SQL. But working while executing in HiveQL

I got the answer from different question which i raised before. This query is working fine

select * from your_data where key[0] between 202006 and 202009 and NOT (key[0]="202009" and key[1]="5" );

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top