-
Notifications
You must be signed in to change notification settings - Fork 326
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
Table.input instead of Table.new #11612
Conversation
CHANGELOG.md
Outdated
- [Table Input Widget is now used on Table.input method instead of | ||
Table.new][11612]. |
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.
I would explain more for users not accustomed to our libs. Maybe "Table widget is now matched for Table.input code, and the columns are parsed"...
'Table.input 14', | ||
'Table.input array1', | ||
"Table.input ['a', [123]]", | ||
"Table.input [['a', [123]]]", |
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.
Besides this line, all other cases should have '123'
- otherwise we could get false positive (for example, we want to test that we won't match against a column name which is a function call (line 182), but even if the code has a bug and we do match, the test still passes because of number presence.
app/gui/src/project-view/components/GraphEditor/widgets/WidgetTableEditor/tableInputArgument.ts
Show resolved
Hide resolved
"type": "method", | ||
"module": "Standard.Table.Table", | ||
"name": "input", | ||
"arguments": [], |
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.
I would put the argument here in case someone in the future would make a test with connecting to input args.
Pull Request Description
Closes #11434
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:
Scala,
Java,
TypeScript,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
or the Snowflake database integration, a run of the Extra Tests has been scheduled.