[
https://issues.apache.org/jira/browse/BEAM-8993?focusedWorklogId=370031&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-370031
]
ASF GitHub Bot logged work on BEAM-8993:
----------------------------------------
Author: ASF GitHub Bot
Created on: 10/Jan/20 19:46
Start Date: 10/Jan/20 19:46
Worklog Time Spent: 10m
Work Description: 11moon11 commented on pull request #10417: [BEAM-8993]
[SQL] MongoDB predicate push down.
URL: https://github.com/apache/beam/pull/10417#discussion_r365402041
##########
File path:
sdks/java/extensions/sql/src/main/java/org/apache/beam/sdk/extensions/sql/meta/provider/mongodb/MongoDbTable.java
##########
@@ -17,12 +17,20 @@
*/
package org.apache.beam.sdk.extensions.sql.meta.provider.mongodb;
+import static
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlKind.AND;
+import static
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlKind.COMPARISON;
+import static
org.apache.beam.vendor.calcite.v1_20_0.org.apache.calcite.sql.SqlKind.OR;
import static
org.apache.beam.vendor.guava.v26_0_jre.com.google.common.base.Preconditions.checkArgument;
+import com.google.common.collect.ImmutableList;
Review comment:
Updated to vendored import. Thanks!
----------------------------------------------------------------
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]
Issue Time Tracking
-------------------
Worklog Id: (was: 370031)
Time Spent: 2h 40m (was: 2.5h)
> [SQL] MongoDb should use predicate push-down
> --------------------------------------------
>
> Key: BEAM-8993
> URL: https://issues.apache.org/jira/browse/BEAM-8993
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql
> Reporter: Kirill Kozlov
> Assignee: Kirill Kozlov
> Priority: Major
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> * Add a MongoDbFilter class, implementing BeamSqlTableFilter.
> ** Support simple comparison operations.
> ** Support boolean field.
> ** Support nested conjunction/disjunction.
> * Update MongoDbTable#buildIOReader
> ** Construct a push-down filter from RexNodes.
> ** Set filter to FindQuery.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)