adding small improvements to upload data to catalog#348
Merged
Edwardvaneechoud merged 1 commit intomainfrom Mar 15, 2026
Merged
adding small improvements to upload data to catalog#348Edwardvaneechoud merged 1 commit intomainfrom
Edwardvaneechoud merged 1 commit intomainfrom
Conversation
✅ Deploy Preview for flowfile-wasm canceled.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant improvements to catalog table registration and materialization, mainly focusing on restricting direct registration to Parquet files in the frontend, improving user feedback, and making the backend materialization process more robust and isolated. Additionally, it removes legacy migration logic from the database initialization.
Frontend and backend changes are grouped below:
Frontend: Catalog Table Registration and User Experience
ElMessageinstead ofalert[1]], [2]], [3]], [4]], [5]]).Backend: Catalog Table Materialization
/catalog/materializeendpoint to perform file reading and Parquet writing in a separate subprocess, improving reliability and resource isolation. The subprocess returns schema and metadata through a queue; errors are reported more robustly [1]], [2]], [3]], [4]]).materialize_catalog_table_taskfunction to handle file conversion and metadata extraction in the subprocess, supporting CSV, Parquet, and Excel files ([flowfile_worker/flowfile_worker/funcs.pyR437-R479]).Other
user_flowsnamespace todefaultfrom the database initialization, as it is no longer needed ([flowfile_core/flowfile_core/database/init_db.pyL63-L75]).These changes collectively make catalog table registration safer, clearer to users, and more robust in handling different file types and potential errors.