-
Notifications
You must be signed in to change notification settings - Fork 17
Feature/#755 - Open append() method on datanodes #824
Conversation
☂️ Python Cov
Overall Coverage
New FilesNo new covered files... Modified Files
|
On SQLDataNode, I believe we need 2 different methods for writing and appending data. Writting will still need to write everything. The orchestrator will require that. Then the append method should be used for the manual edition. |
According to https://docs.taipy.io/en/latest/manuals/core/config/data-node-config/#example-with-a-microsoft-sql-database-table_1, not really. In that example, the There is no way to know for sure which table to delete data from when writing SQLDataNode, so we can not force it I think |
My point is that the SqlDataNode must expose two methods like any other Data node:
|
Oh, then it can be something like |
No, the append_query_builder can be set in the data node config, like the write_query_builder, but it will be executed at run time. The configure method could look like:
The data node implementation would look like this:
What do you think ? |
I see, that makes much more sense. Thank you. |
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 test coverage is great! Thx!
In a few latest commits:
|
…r at SQLDataNodeConfig
Avaiga/taipy#408
This PR opens new
.append()
API for CSV, Excel, Json, MongoCollection, SQLTable data node types.Notes on other data node types:
fastparquet
, there is a simpler way to do this, but I'm working on finding a better way usingpyarrow
, which is our default engine.