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 writing the boolean as a string in TD #109

Open
trung-huynh opened this issue Mar 22, 2021 · 0 comments
Open

Allow writing the boolean as a string in TD #109

trung-huynh opened this issue Mar 22, 2021 · 0 comments
Assignees

Comments

@trung-huynh
Copy link
Contributor

There is no boolean type in TD's table. At the moment the long type in TD's table will be created if it is boolean type in Embulk's schema and the value mappings are:

  • false value will be written as 0.
  • true value will be written as 1.

There is a use-case that those values should be written as strings i.e. true and false, thus a new plugin option should be added so that the boolean type could be written to either long or string depends upon the option. Default value of the option should be written to long so that it does not break anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant