[
https://issues.apache.org/jira/browse/KYLIN-5021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17381687#comment-17381687
]
ASF GitHub Bot commented on KYLIN-5021:
---------------------------------------
tianhui5 commented on a change in pull request #1680:
URL: https://github.com/apache/kylin/pull/1680#discussion_r670927620
##########
File path:
kylin-spark-project/kylin-spark-common/src/main/scala/org/apache/spark/sql/catalyst/expressions/KylinExpresssions.scala
##########
@@ -492,7 +492,7 @@ case class ScatterSkewData(left: Expression, right:
Expression) extends BinaryEx
val rand = ctx.addMutableState("java.util.Random", "rand")
val skewData =
ctx.addMutableState("it.unimi.dsi.fastutil.objects.Object2LongOpenHashMap",
"skewData")
- val skewDataStorage = right.simpleString
+ val skewDataStorage = ExpressionUtils.simpleString(right)
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
> FilePruner in Spark3 throws NPE when no partition columns in cube
> -----------------------------------------------------------------
>
> Key: KYLIN-5021
> URL: https://issues.apache.org/jira/browse/KYLIN-5021
> Project: Kylin
> Issue Type: Bug
> Components: Query Engine
> Reporter: tianhui
> Assignee: Congling Xia
> Priority: Major
> Fix For: v4.0.0
>
> Attachments: errorlog, image-2021-07-01-11-58-11-533.png,
> image-2021-07-01-12-04-46-905.png
>
>
> I create a cube without partition clumn in it, then I query it and get a NPE.
> !image-2021-07-01-11-58-11-533.png!
> !image-2021-07-01-12-04-46-905.png!
> The SQL is like:
> {code:java}
> select pid from exception_middle_user where EXCEPTION_MIDDLE_USER.TVVERSION
> ='20.10.21.110'{code}
>
> I have put errorstack in Attachments.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)