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

Ability to specify length when casting #41

Closed
isuru89 opened this issue Jun 26, 2017 · 0 comments
Closed

Ability to specify length when casting #41

isuru89 opened this issue Jun 26, 2017 · 0 comments
Assignees
Milestone

Comments

@isuru89
Copy link
Contributor

isuru89 commented Jun 26, 2017

When casting data type, specially strings, user should be able to specify the length of data type.

Currently NyQL has three casting functions, namely, CAST_INT, CAST_DATE, and CAST_STR. Only string function can accept length.

It is better to have a function to convert it to bigint as well; CAST_BIGINT may be.

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

No branches or pull requests

1 participant