Github user pallavipr commented on the pull request:
https://github.com/apache/spark/pull/8374#issuecomment-143775002
Rama, while specifying DataFrame metadata length is good approach, can we
please have dbStringMappingType and dbStringMappingLength as properties on the
connection url as well? It will make it really easy for developers, as opposed
to dealing with dataframe length.
We have it implemented for IBM data servers, trying to see if we can make
it mainline Spark since its a useful feature.
VARCHAR has its limitations on length, hence under many circumstances,
users may want to map StringType to CLOB of varying lengths if data server
supports.
Let me know if we can pursue - we have the code ready.
Thanks.
Pallavi
---
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]