vikramahuja1001 commented on a change in pull request #4141:
URL: https://github.com/apache/carbondata/pull/4141#discussion_r655309875
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/execution/command/management/CarbonShowSegmentsAsSelectCommand.scala
##########
@@ -46,12 +49,25 @@ case class CarbonShowSegmentsAsSelectCommand(
Checker.validateTableExists(databaseNameOp, tableName, sparkSession)
CarbonEnv.getCarbonTable(databaseNameOp, tableName)(sparkSession)
}
- private lazy val df = createDataFrame
+
+ val tempViewName: String = makeTempViewName(carbonTable)
+
+ val df: DataFrame = createDataFrame
override def output: Seq[Attribute] = {
- df.queryExecution.analyzed.output.map { attr =>
- AttributeReference(attr.name, attr.dataType, nullable = true)()
+ var attrList: Seq[Attribute] = Seq()
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]