Skip to content

Add default date format option for file loads#1719

Open
sawirricardo wants to merge 1 commit into
dimitri:mainfrom
sawirricardo:issue-1191-default-date-format
Open

Add default date format option for file loads#1719
sawirricardo wants to merge 1 commit into
dimitri:mainfrom
sawirricardo:issue-1191-default-date-format

Conversation

@sawirricardo

@sawirricardo sawirricardo commented Jun 23, 2026

Copy link
Copy Markdown

Summary

  • accept WITH date format ... for CSV and fixed-width file loads
  • apply the default format to target date/time columns while preserving per-field overrides
  • document the option and update date-format parser/regression coverage

Fixes #1191.

Verification

  • git diff --check
  • docker run --rm -e USER=pgloader -v "$PWD/clojure":/work -w /work clojure:temurin-21-tools-deps clojure -M:test -m cognitect.test-runner -n pgloader.load-file.parser-test
  • SBCL reader check for edited Lisp source/parser files
  • Clojure reader check for edited Clojure parser files

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Idea: Specify a Date Format for all dates using a "With" option?

1 participant