ajantha-bhat commented on a change in pull request #3668: [CARBONDATA-3741] Fix 
ParseException from hive during ALTER SET TBLPROERTIES if database name starts 
with Underscore
URL: https://github.com/apache/carbondata/pull/3668#discussion_r392974399
 
 

 ##########
 File path: 
integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonSessionCatalogUtil.scala
 ##########
 @@ -72,7 +72,7 @@ object CarbonSessionCatalogUtil {
       cols: Option[Seq[ColumnSchema]],
       sparkSession: SparkSession): Unit = {
     getClient(sparkSession)
-      .runSqlHive(s"ALTER TABLE ${ tableIdentifier.database.get }.${ 
tableIdentifier.table } " +
+      .runSqlHive(s"ALTER TABLE `${ tableIdentifier.database.get }`.`${ 
tableIdentifier.table }` " +
 
 Review comment:
   remove unwanted spaces inside {}

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to