When I try to import a table, I have this error message :
"DataSource.Error : ODBC: SUCCESS_WITH_INFO  [MySQL][ODBC 5.3(w) Driver][mysqld-5.5.35-0+wheezy1]
DataSourcePath=dsn="name of my ODBC connector"
Don't understand because I can import the others table of my database without issue...
Do you know how can I fix that ?
01004 sounds like a data truncation error. Is this a very large table or is there a very large column definition?
Thank you for your help !
This is a very large table (42 columns)... and there is a very large column definition too. Is this an issue ?
When I delete 4 columns type text (don't need this columns, commentary or things like that) it works...
So I can continue my work 🙂
It could be good for you to find the issue ... (because it works with QlikSense Desktop 😉 )
Good continuation !
We will fix this class of issue in an upcoming release.
We use batch row fetch with ODBC when it's available, which requires us to know in advance the size of a column in order to allocate a buffer in memory. We've seen that ODBC drivers very commonly return invalid column lengths, which leads us to allocate buffers that are too short to fit the entire column's value. This is why you're getting the error about truncation. We can't ignore the error, otherwise, you'd be getting the wrong data!
The fix will be to use row-by-row fetch by default and possibly add a flag for explicitly enabling batch-fetch when it's known to actually work well. We expect this to be in the May release.
In the meantime, the only work around is to not retrieve those columns.
Hello!! i need this reports and i think i dont have a lot columns, Can I get back a version from the server?
while they solve the problem?
Was the Issue fixed with the following releases? I use ODBC on a C Application that I created and I still get the Truncation Error.
The C application communicates with a Database to execute queries. If the query is a select statement, it returns the result of the query.
Can you give me some advice?
This error happens because the data was bound to a buffer that's smaller than the data being retrieved. You can either make the buffers larger or you can retrieve the data in chunks. You should be able to find information on how to do this online. Aside from that, the specifics of how to use ODBC in a C applicaiton are outside the topics on the Power BI forums. I'll concead though the ODBC C API can be dfficult to use...
Hello tristanstcyr. Was the Truncation Error fixed with the release you mentioned? I used ODBC in a C appication and I still sometimes get a Truncation Error.
What can be done?
Check out the November 2023 Power BI update to learn about new features.
Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.
Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!
130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.