Login  Register

[DISCUSSION]Remove the call to update the serde properties in case of alter scenarios

Posted by akashnilugal@gmail.com on Jul 24, 2020; 3:46pm
URL: http://apache-carbondata-dev-mailing-list-archive.168.s1.nabble.com/DISCUSSION-Remove-the-call-to-update-the-serde-properties-in-case-of-alter-scenarios-tp97935.html

Hi Community,

Currently, we have an API called alterTable() in
CarbonSessionCatalogUtil.scala which basically fires a SQL which goes and
changes the serde properties. Actually this API was added when carbon
needed to support alter features(spark-2.1 and 2.2 back then), but spark
wasn't supporting.

Now since we do not support old spark version and spark provides other APIs
to update schema after alter operations. So I think we can remove this API
and which makes unnecessary calls to metastore. Please give inputs on this.

Thanks,

Regards,
Akash R Nilugal