Skip to content

Map count() to BIGINT#32

Merged
theory merged 1 commit into
mainfrom
map-count-aggregate
Nov 6, 2025
Merged

Map count() to BIGINT#32
theory merged 1 commit into
mainfrom
map-count-aggregate

Conversation

@theory
Copy link
Copy Markdown
Collaborator

@theory theory commented Nov 6, 2025

When parsing the type of materialized view column, detect AggregateFunction(count) and return its data type, BIGINT. Without this change, the import would fail with the error, clickhouse_fdw: expected comma in AggregateFunction. But since count() is valid just return its type.

When parsing the type of materialized view column, detect
`AggregateFunction(count)` and return its data type, `BIGINT`. Without
this change, the import would fail with the error, `clickhouse_fdw:
expected comma in AggregateFunction`. But since `count()` is valid just
return its type.
@theory theory requested a review from serprex November 6, 2025 19:10
@theory theory self-assigned this Nov 6, 2025
@theory theory added the bug Something isn't working label Nov 6, 2025
@theory theory marked this pull request as ready for review November 6, 2025 19:11
@theory theory merged commit cebc59f into main Nov 6, 2025
32 checks passed
@theory theory deleted the map-count-aggregate branch November 6, 2025 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants