Hi community,
Disable/Enable datamap does not work on 1.5.0-SNAPSHOT.
Stacktrace,
scala> carbon.sql("show datamap on table test1").show(truncate=false)
+-----------+----------+---------------------+------------------------------------------+
|DataMapName|ClassName |Associated Table |DataMap Properties
|
+-----------+----------+---------------------+------------------------------------------+
|agg_day |timeSeries|default.test1_agg_day|'day_granularity'='1',
'event_time'='date'|
+-----------+----------+---------------------+------------------------------------------+
scala> carbon.sql("SET carbon.datamap.visible.default.test1.agg_day =
false")
org.apache.carbondata.core.exception.InvalidConfigurationException: Invalid
configuration of carbon.datamap.visible.default.test1.agg_day, datamap does
not exist
at
org.apache.carbondata.core.util.SessionParams.validateKeyValue(SessionParams.java:246)
at
org.apache.carbondata.core.util.SessionParams.addProperty(SessionParams.java:121)
at
org.apache.carbondata.core.util.SessionParams.addProperty(SessionParams.java:110)
at
org.apache.spark.sql.hive.execution.command.CarbonSetCommand$.validateAndSetValue(CarbonHiveCommands.scala:112)
at
org.apache.spark.sql.hive.execution.command.CarbonSetCommand.run(CarbonHiveCommands.scala:74)
at
org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult$lzycompute(commands.scala:58)
at
org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffectResult(commands.scala:56)
at
org.apache.spark.sql.execution.command.ExecutedCommandExec.executeCollect(commands.scala:67)
at org.apache.spark.sql.Dataset.<init>(Dataset.scala:183)
at
org.apache.spark.sql.CarbonSession$$anonfun$sql$1.apply(CarbonSession.scala:106)
at
org.apache.spark.sql.CarbonSession$$anonfun$sql$1.apply(CarbonSession.scala:95)
at
org.apache.spark.sql.CarbonSession.withProfiler(CarbonSession.scala:153)
at org.apache.spark.sql.CarbonSession.sql(CarbonSession.scala:93)
... 50 elided
Thanks
Aaron
--
Sent from:
http://apache-carbondata-dev-mailing-list-archive.1130556.n5.nabble.com/