Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
williamy281
Frequent Visitor

HIVE Transactional Table Unable to Load

After connecting to HIVE, the error below occurs.  I suspected this would happen given the developers created the HIVE tables and when using HUE, I had to set this statement to retrieve the table:  

set hive.txn.manager = org.apache.hadoop.hive.ql.lockmgr.DbTxnManager;

 

Is there an equivalent statement that can be used in Power Query ?

 

DataSource.Error: ODBC: ERROR [42000] [Microsoft][Hardy] (80) Syntax or semantic analysis error thrown in server while executing query. Error message from server: AnalysisException: Table lzpsds_raw.mbrshp_mm_anlytc_raw not supported. Transactional (ACID) tables are only supported when they are configured as insert_only.

Details:
DataSourceKind=ApacheHive
DataSourcePath=lzimpala-prod.kp.org:21050;lzpsds_raw;1
OdbcErrors=[Table]

2 REPLIES 2
lbendlin
Super User
Super User

run the same statement as part of your custom ODBC "SQL" query.

It produced another error.  "ODBC: ERROR [HY000] [Cloudera][ImpalaODBC] (110) Error while executing a query in Impala: [HY000] : ParseException: Syntax error in line 1:set hive.txn.manager = org.apache.ha...
^ Encountered: .  Expected: = CAUSED BY: Exception: Syntax error".   Wondering if there is some way to set it in M language.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.