wchevreuil commented on code in PR #169:
URL: https://github.com/apache/hbase-connectors/pull/169#discussion_r4231474240
##########
spark4/hbase-spark4/src/main/scala/org/apache/hadoop/hbase/spark/datasources/HBaseTable.scala:
##########
@@ -61,12 +61,12 @@ class HBaseTable(tableSchema: StructType, properties:
Map[String, String])
}
override def newScanBuilder(options: CaseInsensitiveStringMap): ScanBuilder
= {
- val mergedProps = properties ++ options.asScala.toMap
+ val mergedProps = properties ++ options.asCaseSensitiveMap().asScala.toMap
Review Comment:
Addressing in the next commit. Merge both options.asScala.toMap and
options.asCaseSensitiveMap().asScala.toMap, so lowercased aliases exist for
standard option matching, while original-case keys are preserved for Avro
schema parameter references. Replace similar code on inferSchema() and
newWriteBuilder().
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]