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

Cast Boolean to Int #9898

Open
TheDarkFlame opened this issue May 8, 2023 · 1 comment · May be fixed by #10012
Open

Cast Boolean to Int #9898

TheDarkFlame opened this issue May 8, 2023 · 1 comment · May be fixed by #10012

Comments

@TheDarkFlame
Copy link

Presently it is only possible to cast a boolean to a string.

It would be great to be able to cast a boolean to numeric types with the standard false=0 true=1.

this would be helpful in data transformations where boolean information from other fields should affect a numeric field.

@suhas-satish
Copy link
Member

@TheDarkFlame , can you make a community contribution for that?

@rgibaiev rgibaiev linked a pull request Jul 14, 2023 that will close this issue
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants