vikramahuja1001 commented on a change in pull request #4141:
URL: https://github.com/apache/carbondata/pull/4141#discussion_r655892404



##########
File path: 
examples/spark/src/test/scala/org/apache/carbondata/examplesCI/RunExamples.scala
##########
@@ -104,7 +104,8 @@ class RunExamples extends QueryTest with BeforeAndAfterAll {
     TableLevelCompactionOptionExample.exampleBody(spark)
   }
 
-  test("LuceneIndexExample") {
+  // Below test case ignored due to the Deadlock in spark code

Review comment:
       Not reported as it is very specific to Carbondata and this issue is not 
reproduced in native spark code without carbondata.

##########
File path: 
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/mutation/IUDCommonUtil.scala
##########
@@ -44,7 +44,7 @@ object IUDCommonUtil {
       case unresolvedRelation: UnresolvedRelation =>
         val dbAndTb =
           
sparkSession.sessionState.catalog.asInstanceOf[HiveSessionCatalog].getCurrentDatabase
 +
-          "." + unresolvedRelation.tableIdentifier.table
+          "." + 
CarbonToSparkAdapter.getTableIdentifier(unresolvedRelation).get.table

Review comment:
       Done

##########
File path: 
integration/spark/src/main/scala/org/apache/spark/sql/hive/CarbonAnalysisRules.scala
##########
@@ -135,34 +137,34 @@ case class CarbonIUDAnalysisRule(sparkSession: 
SparkSession) extends Rule[Logica
       var transformed: Boolean = false
       // Create a dummy projection to include filter conditions
       var newPlan: LogicalPlan = null
-      if (table.tableIdentifier.database.isDefined) {
+      if (tableIdentifier.database.isDefined) {
         newPlan = parser.parsePlan("select * from  " +
-           table.tableIdentifier.database.getOrElse("") + "." +
-           table.tableIdentifier.table + " " + alias.getOrElse("") + " " + 
filter)
+           tableIdentifier.database.getOrElse("") + "." +

Review comment:
       Done




-- 
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]


Reply via email to