-
Notifications
You must be signed in to change notification settings - Fork 37
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
test: create a framework for testing functions #922
Conversation
1bcfcb5
to
def0fb9
Compare
scalar,quote_ident,text,,text,"Quote identifier" | ||
scalar,quote_literal,text,,any,"Quote literal" | ||
scalar,quote_nullable,text,,any,"Quote nullable" | ||
scalar,regexp_split_to_array,text[],,text&text,"Split string by pattern" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The array type should be defined like this
scalar,regexp_split_to_array,text[],,text&text,"Split string by pattern" | |
scalar,regexp_split_to_array,array<text>,,text&text,"Split string by pattern" |
# It will be failed because Rust can not read CSV correctly | ||
# the_func = next(filter(lambda x: x["name"] == "extract", result)) | ||
# assert the_func == { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
#925 would fix it
def0fb9
to
966fe68
Compare
Hi @goldmedal, I adjusted the CSV and CSV reader based on the new Wren core. It looks so good. Thanks for your help. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @grieve54706, It looks good to me.
Test all functions in CSV could be executed.