Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Use microsecond precision for postgres datasource #2530

Merged
merged 6 commits into from
Jan 31, 2024

Conversation

vrongmeal
Copy link
Contributor

> select * from read_postgres('postgresql://glaredb:password@0.0.0.0:5433/glaredb_test', 'public', 'abc');
┌─────────────────────┐
│ a                   │
│ ──                  │
│ Timestamp<µs, UTC>  │
╞═════════════════════╡
│ 0001-01-01T00:00:00 │
└─────────────────────┘

Fixes: #2438

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
```
> select * from read_postgres('postgresql://glaredb:password@0.0.0.0:5433/glaredb_test', 'public', 'abc');
┌─────────────────────┐
│ a                   │
│ ──                  │
│ Timestamp<µs, UTC>  │
╞═════════════════════╡
│ 0001-01-01T00:00:00 │
└─────────────────────┘
```

Fixes: #2438

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
@vrongmeal vrongmeal marked this pull request as ready for review January 30, 2024 14:49
Base automatically changed from vrongmeal/more-time-precision to main January 31, 2024 07:21
@vrongmeal vrongmeal enabled auto-merge (squash) January 31, 2024 07:36
@vrongmeal vrongmeal merged commit 2038cdf into main Jan 31, 2024
22 checks passed
@vrongmeal vrongmeal deleted the vrongmeal/more-time-precision-pg branch January 31, 2024 07:51
tychoish pushed a commit that referenced this pull request Feb 1, 2024
```
> select * from read_postgres('postgresql://glaredb:password@0.0.0.0:5433/glaredb_test', 'public', 'abc');
┌─────────────────────┐
│ a                   │
│ ──                  │
│ Timestamp<µs, UTC>  │
╞═════════════════════╡
│ 0001-01-01T00:00:00 │
└─────────────────────┘
```

Fixes: #2438

---------

Signed-off-by: Vaibhav <vrongmeal@gmail.com>
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.

3 participants