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 2020/09/28 05:28:04 UTC

[GitHub] [iceberg] JingsongLi commented on pull request #1509: Flink: Integrate Flink reader to SQL

JingsongLi commented on pull request #1509:
URL: https://github.com/apache/iceberg/pull/1509#issuecomment-699778221


   > Let's take a look at `ScanOptions` in the next PR then. I would prefer to keep user-facing APIs simple, rather than leaking a SQL concern (options come from `WITH`) to users (need to use two builders). Since SQL will most likely use the `fromProperties` method, it may make sense to use a single builder, add `withProperties`, and pass properties from SQL as a map.
   
   Got it, I think I can change the `ScanOptions` to `ScanContext`, it is an internal helper class like `TableScanContext`.
   Then expose all setters to `FlinkSource.Builder`.


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



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