You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/09/29 13:01:29 UTC

[GitHub] [incubator-kyuubi] bowenliang123 commented on pull request #3576: WIP: [Authz] support row filter and data masking on permanent views

bowenliang123 commented on PR #3576:
URL: https://github.com/apache/incubator-kyuubi/pull/3576#issuecomment-1262245582

   only reusing attributes's `exprId` in new `Alias` for permanent views.
   Otherwise, `KYUUBI #2390: RuleEliminateMarker stays in analyze phase for data masking` unit test will fail on querying table with column data masking with exception 
   ```
   java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.Alias cannot be cast to org.apache.spark.sql.catalyst.expressions.Attribute
     at org.apache.spark.sql.catalyst.expressions.AttributeMap.get(AttributeMap.scala:37)
     at scala.collection.MapLike.apply(MapLike.scala:143)
     at scala.collection.MapLike.apply$(MapLike.scala:143)
     at org.apache.spark.sql.catalyst.expressions.AttributeMap.apply(AttributeMap.scala:37)
     at scala.collection.immutable.List.map(List.scala:297)
     at org.apache.spark.sql.hive.execution.HiveTableScanExec.<init>(HiveTableScanExec.scala:77)
   ```


-- 
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: notifications-unsubscribe@kyuubi.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org