Skip to content

Supports Zip format in import SQL #46789

Open
@lordofthejars

Description

@lordofthejars

Description

Sometimes the data file (import.sql) you want to import for testing (specially in AI applications where vectors are huge), is so big that you cannot push directly in Git (yes you can always use LFS), but if you zip the SQL file then the size is reduced by 2/3, so make it more manageable.

Implementation ideas

We could add support for import.sql and import.sql.zip and when a zip Quarkus uncompresses the file, or provide an event triggered before the import.sql logic so we can code the unzipping part. I know that this is not that easy as the file must be in classpath and so on.

Well, I just wanted to note a limitation I found today, that's all :)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions