Github user zzcclp commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/1469#discussion_r152729085
--- Diff:
integration/spark2/src/main/scala/org/apache/spark/sql/parser/CarbonSpark2SqlParser.scala
---
@@ -17,19 +17,23 @@
package org.apache.spark.sql.parser
+import java.lang.reflect.InvocationTargetException
+
import scala.collection.mutable
import scala.language.implicitConversions
import org.apache.spark.sql.{DeleteRecords, ShowLoadsCommand, UpdateTable}
-import org.apache.spark.sql.catalyst.CarbonDDLSqlParser
+import org.apache.spark.sql.catalyst.{CarbonDDLSqlParser, TableIdentifier}
import org.apache.spark.sql.catalyst.CarbonTableIdentifierImplicit._
-import org.apache.spark.sql.catalyst.analysis.UnresolvedRelation
import org.apache.spark.sql.catalyst.plans.logical._
import org.apache.spark.sql.execution.command._
import
org.apache.spark.sql.execution.command.management.{AlterTableCompactionCommand,
CleanFilesCommand, DeleteLoadByIdCommand, DeleteLoadByLoadDateCommand,
LoadTableCommand}
import
org.apache.spark.sql.execution.command.partition.{AlterTableDropCarbonPartitionCommand,
AlterTableSplitCarbonPartitionCommand}
import
org.apache.spark.sql.execution.command.schema.{AlterTableAddColumnCommand,
AlterTableDataTypeChangeCommand, AlterTableDropColumnCommand}
import org.apache.spark.sql.types.StructField
+import org.apache.spark.sql.CarbonExpressions.CarbonUnresolvedRelation
+import org.apache.spark.sql.catalyst.analysis.{UnresolvedAlias,
UnresolvedRelation, UnresolvedStar}
--- End diff --
the order of imports is wrong.
---