Skip to content

turbocsv schema / infer: detect column types and export schema #35

Description

@bytebrujo

Proposal

Emit detected column types and an exportable schema.

turbocsv schema data.csv --format json-schema
turbocsv schema data.csv --format ts   # TypeScript interface

Notes

  • The type-coercion engine in src/ts/row.ts already does the detection work.

Acceptance

  • Infers string/number/boolean/date/currency/percent per column
  • JSON Schema + TS interface output
  • Tests

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew featurephase-6Formats & interop - Parquet, Arrow, Excel, diffpriority-mediumMedium impact

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions