paradedb / pg_analytics

DuckDB-powered analytics for Postgres
https://paradedb.com
PostgreSQL License
383 stars 15 forks source link

refactor: Use enum serialization in CSV, Delta, Iceberg, Json, Parquet, Secret, and Spatial modules #145

Closed Weijun-H closed 1 month ago

Weijun-H commented 1 month ago

Ticket(s) Closed

What

Using #[strum(serialize_all = "snake_case")] to avoid naming each enum.

Why

Easy to maintain and prevent human errors.

How

Tests

The related tests are existing