You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2019/12/02 07:19:17 UTC

[GitHub] [calcite] yanlin-Lynn commented on a change in pull request #1557: [CALCITE-3473] Getting unique result for table scan should contain key column(s)

yanlin-Lynn commented on a change in pull request #1557: [CALCITE-3473] Getting unique result for table scan should contain key column(s)
URL: https://github.com/apache/calcite/pull/1557#discussion_r352446701
 
 

 ##########
 File path: core/src/main/java/org/apache/calcite/plan/RelOptAbstractTable.java
 ##########
 @@ -97,6 +97,11 @@ public boolean isKey(ImmutableBitSet columns) {
     return false;
   }
 
+  // Override to get unique keys
+  public List<ImmutableBitSet> getKeys() {
+    return null;
 
 Review comment:
   Thanks for reviewing  @hsyuan 
   PR updated.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services