ChinmaySKulkarni commented on a change in pull request #4: PHOENIX-5238 Provide
an option to pass hints with PhoenixRDD and Data…
URL: https://github.com/apache/phoenix-connectors/pull/4#discussion_r279920151
##########
File path:
phoenix-spark/src/main/java/org/apache/phoenix/spark/datasource/v2/reader/PhoenixDataSourceReader.java
##########
@@ -87,6 +88,7 @@ public PhoenixDataSourceReader(DataSourceOptions options) {
this.tableName = options.tableName().get();
this.zkUrl = options.get(PhoenixDataSource.ZOOKEEPER_URL).get();
this.dateAsTimestamp = options.getBoolean("dateAsTimestamp", false);
+ this.disableBlockCache = options.getBoolean("NO_CACHE", false);
Review comment:
Can you use `Hint.NO_CACHE` instead of the String for consistency?
----------------------------------------------------------------
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]
With regards,
Apache Git Services