Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
I need to modify the field of a table in my lakehouse (I have it in text and I want to change it to FLOAT).
To do so, I thought of creating a new table inserting the values in the table:
Solved! Go to Solution.
thank you very much! in the end I solved it in another way, I had in one of the fields text and I had a problem with the null to convert them in Float. In the end I put in the query a try cast and it was solved.
thank you very much! in the end I solved it in another way, I had in one of the fields text and I had a problem with the null to convert them in Float. In the end I put in the query a try cast and it was solved.
Glad to know that your issue got resolved. Please continue using Fabric Community on your further queries.
Hi @jesuslogmein you could use CTAS in a single statement and add/modify columns as appropriate.
eg in the query below, in the SELECT, select the relevant columns, and cast to other types
%%sql
CREATE TABLE IF NOT EXISTS new_table
USING DELTA AS
SELECT <columns>
FROM source_table
Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.
Ask questions in Eventhouse and KQL, Eventstream, and Reflex.
User | Count |
---|---|
5 | |
2 | |
1 | |
1 | |
1 |