Skip to content

[Regression] No longer possible to disable CSV schema inference #19417

Description

@sergiimk

Describe the bug

In DF v50 by setting CsvReadOptions::schema_infer_max_records to zero it was possible to disable schema inference completely, thus every column would be read as Utf8.

In DF v51 same setting results in all column types to be inferred as Null type.

To Reproduce

No response

Expected behavior

It's often desirable to read all CSV columns as strings and then parse them in SQL later, so I think DF v50 behavior should be restored.

Additional context

No response

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

    bugSomething isn't workingregressionSomething that used to work no longer does

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions