Skip to content

fix(engine, load_from_s3): MCOL-6146 Add mode 2 and 3 to load_from_s3.#3979

Open
mariadb-AlanMologorsky wants to merge 2 commits into
stable-23.10from
fix/MCOL-6146-load-from-s3-mode-2-3
Open

fix(engine, load_from_s3): MCOL-6146 Add mode 2 and 3 to load_from_s3.#3979
mariadb-AlanMologorsky wants to merge 2 commits into
stable-23.10from
fix/MCOL-6146-load-from-s3-mode-2-3

Conversation

@mariadb-AlanMologorsky
Copy link
Copy Markdown
Contributor

  • fix cmapi s3 data load.
  • fix engine load_from_s3 implementation.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces an optional mode parameter to the S3 data loading workflow, updating the Python API, the C++ UDF, and the SQL stored procedure. Feedback includes a recommendation to explicitly set the argument type in the C++ UDF to prevent undefined behavior, a suggestion to add error handling for integer conversion in the Python controller, and a request to provide a default value for the new parameter in the SQL stored procedure to maintain backward compatibility.

Comment thread dbcon/mysql/columnstore_dataload.cpp
Comment thread cmapi/cmapi_server/controllers/s3dataload.py Outdated
Comment thread dbcon/mysql/columnstore_info.sql Outdated
Copy link
Copy Markdown
Collaborator

@mariadb-LeonidFedorov mariadb-LeonidFedorov left a comment

Choose a reason for hiding this comment

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

untested, ack

@mariadb-AlanMologorsky mariadb-AlanMologorsky force-pushed the fix/MCOL-6146-load-from-s3-mode-2-3 branch from 8cbbddd to 4528518 Compare April 29, 2026 14:15
@mariadb-AlanMologorsky mariadb-AlanMologorsky changed the title [WIP] fix(engine, load_from_s3): MCOL-6146 Add mode 2 and 3 to load_from_s3. fix(engine, load_from_s3): MCOL-6146 Add mode 2 and 3 to load_from_s3. Apr 30, 2026
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