Skip to content

Conversation

@bornedan
Copy link
Contributor

Remove deprecated functions from examples. Add actual functions to examples.

Task: https://keboola.atlassian.net/browse/CFT-3469

Remove deprecated functions from examples. Add actual functions to examples.
@bornedan bornedan requested review from Copilot and kudj May 26, 2025 09:53
Copy link

Copilot AI left a 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
Copy link
Contributor

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(
Copy link
Contributor

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

Copy link
Contributor

@kudj kudj left a 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

Copy link
Contributor

@kudj kudj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice!

@bornedan bornedan merged commit b313e2a into main May 27, 2025
4 checks passed
@bornedan bornedan deleted the CFT-3469-Update-documentation branch May 27, 2025 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants