-
Notifications
You must be signed in to change notification settings - Fork 2
Update readme #79
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
Update readme #79
Conversation
Remove deprecated functions from examples. Add actual functions to examples.
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated no comments.
README.md
Outdated
| incremental=True # Enable incremental loading | ||
| ) | ||
|
|
||
| # Define columns with their data types |
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.
here the better name would be add columns with default data types
| ci = CommonInterface() | ||
|
|
||
| # Create output table definition with schema | ||
| out_table = ci.create_out_table_definition( |
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.
this works, just because back compatibility with old version (the primary_key without defined schema or columns)
cleaner solution will be
a) either create empty(without schema) table definition and add columns like in the example
b) to prepare the schema first and then create table definition from it for example here
kudj
left a comment
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.
nice documentation improvement 👍, just please fix two flaws
kudj
left a comment
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.
nice!
Remove deprecated functions from examples. Add actual functions to examples.
Task: https://keboola.atlassian.net/browse/CFT-3469