QiangCai commented on a change in pull request #3661: [CARBONDATA-3704] Support
create materialized view on all type table, and make mv support mutil-tenant.
URL: https://github.com/apache/carbondata/pull/3661#discussion_r401312862
##########
File path:
integration/spark/src/main/scala/org/apache/spark/sql/CarbonExtensions.scala
##########
@@ -76,6 +66,11 @@ case class CarbonOptimizerRule(session: SparkSession)
extends Rule[LogicalPlan]
self.synchronized {
if (notAdded) {
notAdded = false
+
+ session.udf.register(MaterializedViewUDF.DUMMY_FUNCTION, () => "")
Review comment:
move code to CarbonEnv.init
----------------------------------------------------------------
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