Skip to content

add pg_enum table #108

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

Merged
merged 6 commits into from
Jul 10, 2025
Merged

add pg_enum table #108

merged 6 commits into from
Jul 10, 2025

Conversation

madesroches-ubi
Copy link
Contributor

adding this table does not allow powerbi to connect... but the error is more interesting

DataFusion fails executing this query:

SELECT pg_type.oid, enumlabel
FROM pg_enum
JOIN pg_type ON pg_type.oid=enumtypid
ORDER BY oid, enumsortorder
Détails : « PostgreSQL : XX000: Ipc error: Status { code: Internal, message: "Error executing plan: Context(\"SanityCheckPlan\", Plan(\"Plan: [\\\"SortExec: expr=[oid@0 ASC NULLS LAST, enumsortorder@2 ASC NULLS LAST], preserve_partitioning=[false]\\\", \\\"  ProjectionExec: expr=[oid@0 as oid, enumlabel@2 as enumlabel, enumsortorder@1 as enumsortorder]\\\", \\\"    CoalesceBatchesExec: target_batch_size=8192\\\", \\\"      HashJoinExec: mode=CollectLeft, join_type=Inner, on=[(oid@0, enumtypid@0)], projection=[oid@0, enumsortorder@2, enumlabel@3]\\\", \\\"        DataSourceExec: partitions=1, partition_sizes=[1]\\\", \\\"        DataSourceExec: partitions=0, partition_sizes=[]\\\"] does not satisfy distribution requirements: SinglePartition. Child-0 output partitioning: UnknownPartitioning(0)\"))", metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Wed, 09 Jul 2025 20:06:42 GMT", "content-length": "0"} }, source: None } »
```

@sunng87 sunng87 merged commit 12a6d2e into datafusion-contrib:master Jul 10, 2025
6 checks passed
@sunng87
Copy link
Member

sunng87 commented Jul 11, 2025

@madesroches-ubi the query issue should be fixed in #109 by @waynexia

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