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

YDB FQ: avoid outdated syntax "SELECT * FROM cluster.db.table" #6901

Closed
wants to merge 7 commits into from

Conversation

vitalyisaev2
Copy link
Member

Changelog entry

  • YDB FQ: avoid outdated syntax "SELECT * FROM cluster.db.table" (now database name is always within cluster).

Changelog category

  • Bugfix

Additional information

...

@vitalyisaev2 vitalyisaev2 requested a review from a team as a code owner July 20, 2024 16:26
Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 16:29:48 UTC Pre-commit check for 1430351 has started.
2024-07-20 16:32:41 UTC Build+Tests linux-x86_64-release-clang14 is running...
🟢 2024-07-20 16:38:23 UTC Build successful.

Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 16:30:04 UTC Pre-commit check for 1430351 has started.
2024-07-20 16:32:50 UTC Build+Tests linux-x86_64-relwithdebinfo is running...
🟢 2024-07-20 18:23:13 UTC Build successful.
🔴 2024-07-20 18:27:10 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38278 33030 0 9 5226 13

🟡 2024-07-20 18:27:48 UTC ydbd size 8.1 GiB changed* by +1014.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 1c15550 merge: 1430351 diff diff %
ydbd size 8 656 109 112 Bytes 8 657 147 400 Bytes +1014.0 KiB +0.012%
ydbd stripped size 471 115 872 Bytes 471 139 360 Bytes +22.9 KiB +0.005%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 16:30:04 UTC Pre-commit check for 1430351 has started.
2024-07-20 16:32:53 UTC Build+Tests linux-x86_64-release-asan is running...
🟢 2024-07-20 18:46:30 UTC Build successful.
🔴 2024-07-20 18:49:39 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9764 9151 0 102 332 179

🟢 2024-07-20 18:50:39 UTC ydbd size 5.2 GiB changed* by -28.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 5e95651 merge: 1430351 diff diff %
ydbd size 5 556 133 632 Bytes 5 556 104 048 Bytes -28.9 KiB -0.001%
ydbd stripped size 1 197 007 984 Bytes 1 197 005 040 Bytes -2.9 KiB -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 21:31:31 UTC Pre-commit check for 4974645 has started.
2024-07-20 21:34:15 UTC Build+Tests linux-x86_64-release-clang14 is running...
🟢 2024-07-20 21:39:10 UTC Build successful.

Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 21:33:23 UTC Pre-commit check for 4974645 has started.
2024-07-20 21:36:06 UTC Build+Tests linux-x86_64-relwithdebinfo is running...
🟢 2024-07-20 23:24:47 UTC Build successful.
🔴 2024-07-20 23:29:00 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38283 33043 0 4 5225 11

🟡 2024-07-20 23:29:41 UTC ydbd size 8.1 GiB changed* by +1014.0 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 1c15550 merge: 4974645 diff diff %
ydbd size 8 656 109 112 Bytes 8 657 147 400 Bytes +1014.0 KiB +0.012%
ydbd stripped size 471 115 872 Bytes 471 139 360 Bytes +22.9 KiB +0.005%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 20, 2024

2024-07-20 21:33:55 UTC Pre-commit check for 4974645 has started.
2024-07-20 21:36:38 UTC Build+Tests linux-x86_64-release-asan is running...
🟢 2024-07-20 23:39:31 UTC Build successful.
🔴 2024-07-20 23:42:55 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9764 9168 0 89 332 175

🟢 2024-07-20 23:43:47 UTC ydbd size 5.2 GiB changed* by -28.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 5e95651 merge: 4974645 diff diff %
ydbd size 5 556 133 632 Bytes 5 556 104 048 Bytes -28.9 KiB -0.001%
ydbd stripped size 1 197 007 984 Bytes 1 197 005 040 Bytes -2.9 KiB -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 21, 2024

2024-07-21 20:10:26 UTC Pre-commit check for e21da2e has started.
2024-07-21 20:13:17 UTC Build+Tests linux-x86_64-release-clang14 is running...
🟢 2024-07-21 20:18:39 UTC Build successful.

Copy link

github-actions bot commented Jul 21, 2024

2024-07-21 20:10:36 UTC Pre-commit check for e21da2e has started.
2024-07-21 20:13:17 UTC Build+Tests linux-x86_64-relwithdebinfo is running...
🟢 2024-07-21 22:01:14 UTC Build successful.
🔴 2024-07-21 22:05:26 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38280 33034 0 4 5226 16

🟡 2024-07-21 22:06:08 UTC ydbd size 8.1 GiB changed* by +1016.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 1c15550 merge: e21da2e diff diff %
ydbd size 8 656 109 112 Bytes 8 657 150 136 Bytes +1016.6 KiB +0.012%
ydbd stripped size 471 115 872 Bytes 471 138 848 Bytes +22.4 KiB +0.005%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 21, 2024

2024-07-21 20:11:05 UTC Pre-commit check for e21da2e has started.
2024-07-21 20:13:49 UTC Build+Tests linux-x86_64-release-asan is running...
🟢 2024-07-21 22:24:25 UTC Build successful.
🔴 2024-07-21 22:27:23 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
9762 9157 0 98 330 177

🟢 2024-07-21 22:28:21 UTC ydbd size 5.2 GiB changed* by -26.3 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 5e95651 merge: e21da2e diff diff %
ydbd size 5 556 133 632 Bytes 5 556 106 712 Bytes -26.3 KiB -0.000%
ydbd stripped size 1 197 007 984 Bytes 1 197 003 312 Bytes -4.6 KiB -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

default:
// FIXME: remove me after debug
Cout << "CRAB: " << ::Ydb::StatusIds::StatusCode_Name(error.status()) << Endl;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Это нужно убрать

@@ -37,7 +37,11 @@ namespace NYql::NConnector {
return NDqProto::StatusIds::StatusCode::StatusIds_StatusCode_UNSUPPORTED;
case ::Ydb::StatusIds::StatusCode::StatusIds_StatusCode_NOT_FOUND:
return NDqProto::StatusIds::StatusCode::StatusIds_StatusCode_BAD_REQUEST;
case ::Ydb::StatusIds::StatusCode::StatusIds_StatusCode_SCHEME_ERROR:
return NDqProto::StatusIds::StatusCode::StatusIds_StatusCode_BAD_REQUEST;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Нужно в NDqProto::StatusIds::StatusCode::StatusIds_StatusCode_SCHEME_ERROR мапить

@@ -140,12 +140,12 @@ def _primitive_types(self) -> Sequence[TestCase]:
# Don't be surprised - binary types look like UTF8 strings in Go
Column(
name='col_22_binary',
ydb_type=makeOptionalYdbTypeFromTypeID(Type.UTF8),
ydb_type=makeOptionalYdbTypeFromTypeID(Type.STRING),
Copy link
Collaborator

Choose a reason for hiding this comment

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

Интересно как это связано с текущим ревью. Или это просто рефакторинг?

Copy link
Collaborator

Choose a reason for hiding this comment

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

@dorooleg
Copy link
Collaborator

Исправлено в рамках: #6945 (review)

dorooleg pushed a commit that referenced this pull request Jul 23, 2024
…of PR #6901) (#6945)

Co-authored-by: Vitaly Isaev <vitalyisaev@ydb.tech>
dorooleg pushed a commit to dorooleg/ydb that referenced this pull request Jul 23, 2024
dorooleg pushed a commit to dorooleg/ydb that referenced this pull request Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants