Github user weicheng113 commented on the issue:
https://github.com/apache/spark/pull/13600
@rxin , Spark SQL DataFrameReader.jdbc only supports Long lowerBound and
upperBound also. String type primary key as lower&upper bound is also commonly
used.
The reason i am not using Spark SQL in one of my cases is that i am doing a
full data sync from SQL DB to ElasticSearch and don't do any calculation.
Selected columns from several joined tables form one ElasticSearch type.
Process is: a DB joined row --> a Entity --> a ElasticSearch document. Entity
does data conversion, validation and formatting.
if this PR is valid, i will do a final clean up and documenting.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]