Skip to content

Conversation

@1NepuNep1
Copy link
Collaborator

See #8

Поддержанные YQL-конструкции

  • pragma_stmt
  • select_stmt
  • named_nodes_stmt
  • create_table_stmt
  • drop_table_stmt
  • use_stmt
  • into_table_stmt
  • commit_stmt
  • update_stmt
  • delete_stmt
  • rollback_stmt
  • declare_stmt
  • import_stmt
  • export_stmt
  • alter_table_stmt
  • alter_external_table_stmt
  • do_stmt
  • define_action_or_subquery_stmt
  • if_stmt
  • for_stmt
  • values_stmt
  • create_user_stmt
  • alter_user_stmt
  • create_group_stmt
  • alter_group_stmt
  • drop_role_stmt
  • create_object_stmt
  • alter_object_stmt
  • drop_object_stmt
  • create_external_data_source_stmt
  • alter_external_data_source_stmt
  • drop_external_data_source_stmt
  • create_replication_stmt
  • drop_replication_stmt
  • create_topic_stmt
  • alter_topic_stmt
  • drop_topic_stmt
  • grant_permissions_stmt
  • revoke_permissions_stmt
  • alter_table_store_stmt
  • upsert_object_stmt
  • create_view_stmt
  • drop_view_stmt
  • alter_replication_stmt
  • create_resource_pool_stmt
  • alter_resource_pool_stmt
  • drop_resource_pool_stmt
  • create_backup_collection_stmt
  • alter_backup_collection_stmt
  • drop_backup_collection_stmt
  • analyze_stmt
  • create_resource_pool_classifier_stmt
  • alter_resource_pool_classifier_stmt
  • drop_resource_pool_classifier_stmt
  • backup_stmt
  • restore_stmt
  • alter_sequence_stmt
  • create_transfer_stmt
  • alter_transfer_stmt
  • drop_transfer_stmt
  • alter_database_stmt
  • show_create_table_stmt

1NepuNep1 and others added 17 commits May 21, 2025 02:18
… integration

- Added reserved keywords and parsing logic
- CREATE TABLE support and tests
- SELECT initial support and tests
- Initial YDB engine integration and examples
…y with 2 updates (sqlc-dev#3941)

Bumps the production-dependencies group with 2 updates in the / directory: [github.com/google/cel-go](https://github.com/google/cel-go) and [google.golang.org/grpc](https://github.com/grpc/grpc-go).

Updates `github.com/google/cel-go` from 0.24.1 to 0.25.0
- [Release notes](https://github.com/google/cel-go/releases)
- [Commits](google/cel-go@v0.24.1...v0.25.0)

Updates `google.golang.org/grpc` from 1.71.1 to 1.72.0
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.71.1...v1.72.0)

---
updated-dependencies:
- dependency-name: github.com/google/cel-go
  dependency-version: 0.25.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
- dependency-name: google.golang.org/grpc
  dependency-version: 1.72.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the production-dependencies group in /docs with 1 update: [packaging](https://github.com/pypa/packaging).


Updates `packaging` from 24.2 to 25.0
- [Release notes](https://github.com/pypa/packaging/releases)
- [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst)
- [Commits](pypa/packaging@24.2...25.0)

---
updated-dependencies:
- dependency-name: packaging
  dependency-version: '25.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: production-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
USE ...
PRAGMA
CREATE USER
CREATE GROUP
COMMIT
RESTORE

also added some new tests and debugged old code for mistakes
Initial YDB  support in SQLC
)

This PR adds native YDB Go SDK support to sqlc for YDB database engine, moving from the standard database/sql interface to the YDB-specific SDK. The implementation includes code generation templates, configuration updates, and example adaptations.

Adds YDB Go SDK as a new SQL package option (ydb-go-sdk)
Implements YDB-specific code generation templates for queries, interfaces, and database connections
Updates configuration schema to support YDB as an engine option
@1NepuNep1 1NepuNep1 changed the base branch from ydb to main September 3, 2025 12:38
@1NepuNep1 1NepuNep1 changed the base branch from main to ydb September 3, 2025 12:39
@1NepuNep1 1NepuNep1 closed this Sep 3, 2025
@1NepuNep1 1NepuNep1 deleted the ydb-engine branch September 3, 2025 12:39
@1NepuNep1 1NepuNep1 changed the title Expanding YQL Syntax support in sqlc engine Expanding YQL Syntax support in sqlc engine (broken) Sep 3, 2025
@1NepuNep1 1NepuNep1 restored the ydb-engine branch September 3, 2025 12:40
@1NepuNep1 1NepuNep1 deleted the ydb-engine branch September 3, 2025 12:45
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.

1 participant