Skip to content

More examples: geometry and table creation#193

Merged
alex-clickhouse merged 2 commits intomainfrom
more-examples
Jan 27, 2026
Merged

More examples: geometry and table creation#193
alex-clickhouse merged 2 commits intomainfrom
more-examples

Conversation

@alex-clickhouse
Copy link
Copy Markdown
Collaborator

@alex-clickhouse alex-clickhouse commented Jan 27, 2026

Note

Adds new example coverage and wires it into the examples runner.

  • Introduces DataTypes_006_Geometry.cs demonstrating geometry types (Point, Polygon), WKT parsing (readWKT*), H3 indexing (geoToH3, h3ToGeo, h3ToGeoBoundary), point-in-polygon checks, and great-circle distance queries, with small temp tables for demos
  • Adds Tables_002_CreateTableCluster.cs (ReplicatedMergeTree with ON CLUSTER and macros) and Tables_003_CreateTableCloud.cs (cloud defaults, no ENGINE/ON CLUSTER) examples
  • Updates Program.cs to run GeometryTypes
  • Updates examples/README.md to list the new examples

Written by Cursor Bugbot for commit aca4a87. This will update automatically on new commits. Configure here.

@codecov
Copy link
Copy Markdown

codecov bot commented Jan 27, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Comment thread examples/Tables_002_CreateTableCluster.cs Outdated
@alex-clickhouse alex-clickhouse merged commit 094102d into main Jan 27, 2026
18 checks passed
@alex-clickhouse alex-clickhouse deleted the more-examples branch January 27, 2026 10:35
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.

2 participants