insert into delta table for decimal value failing due to scale

21 views
Skip to first unread message

Guru V

unread,
May 26, 2021, 11:58:19 PM5/26/21
to Delta Lake Users and Developers
HI,

I have delta table with decimal column with 10,2 scale. Some of the data that i am getting from csv is having more than 2 decimal digits and it fails when i try to write in delta table.
Is there option so that insert is not failed and data will get rounded off and inserted.

Also if i want to update the scale of an existing column, is there an option to do that

Thanks
Reply all
Reply to author
Forward
0 new messages