cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to change/cast column datatype using Delta IO

Srikanthn
New Contributor II

I have created a delta table using Delta IO library, with following details

Table Name: Employee

Columns {Id Integer, name String, gender String, Salary decimal(5,2)}

Now I want to upcast the salary from decimal(5,2) to decimal(10,4). If I use delta IO library I am endup with "Detected incompatible schema change" error. Is there way to change upcast columns, change datatype using Delta IO.

0 REPLIES 0