Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow user to specify whether the field names in a Dataset query should be lowercased or not #38

Closed
akudiyar opened this issue Oct 12, 2022 · 0 comments · Fixed by #40
Closed
Labels
bug Something isn't working

Comments

@akudiyar
Copy link
Collaborator

Currently, when a schema is generated from the Dataset, the field names are implicitly lowercased: https://github.com/tarantool/cartridge-spark/blob/master/src/main/scala/org/apache/spark/sql/tarantool/TarantoolSchema.scala#L32. That was done so because usually the queries have the field names uppercased and therefore not compatible with the schema in Tarantool. But if the schema in Tarantool has uppercase letters in the field names, there is the same problem.

Acceptance criteria:

  • Users are able to specify the field transformation
  • The field names are not transformed by default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant