You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@iceberg.apache.org by GitBox <gi...@apache.org> on 2019/08/29 21:39:12 UTC

[GitHub] [incubator-iceberg] TGooch44 opened a new pull request #426: [python] Adding a string to iceberg expression converter an tests

TGooch44 opened a new pull request #426: [python] Adding a string to iceberg expression converter an tests
URL: https://github.com/apache/incubator-iceberg/pull/426
 
 
   This adds some static methods in api.expressions.Expressions for converting a sql-esque predicate clause into the equivalent iceberg expression. Eg:
   
   "col_a=1" becomes Expressions.equal("col_a", 1)
   "col_a=1 and col_b=2" becomes Expressions.and_(Expressions.equal("col_a", 1), Expressions.equal("col_b", 2)
   and so on.  The following is currently supported: =, ==, !=, <>, >, >=, <, <=, between, is null, is not null, not

----------------------------------------------------------------
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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@iceberg.apache.org
For additional commands, e-mail: issues-help@iceberg.apache.org