Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
I'm using ODBC connection to connect to Hive database and using below simple query to query the database.
select col1,col2,col3 from table;
when the data is loaded in the preview in the header I see the data is displayed with tablename.columnname. Could you please let me know how to get only columnname
Solved! Go to Solution.
Hi @sruthicb
I don't have a Hive database to do a test, but maybe you can give a new name for every column in the SQL statement with "AS". For example,
select
col1 as 'col1',
col2 as 'col2',
col3 as 'col3'
from table;
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Hi @sruthicb
I don't have a Hive database to do a test, but maybe you can give a new name for every column in the SQL statement with "AS". For example,
select
col1 as 'col1',
col2 as 'col2',
col3 as 'col3'
from table;
Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Check out the July 2026 Power BI update to learn about new features.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.