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

Error retrieving alias columns - ClickHouse 23.8 #932

Open
subkanthi opened this issue Nov 25, 2024 · 3 comments
Open

Error retrieving alias columns - ClickHouse 23.8 #932

subkanthi opened this issue Nov 25, 2024 · 3 comments
Assignees
Labels
lightweight Issues related to Lightweight version not reproducible Cannot reproduce the bug.
Milestone

Comments

@subkanthi
Copy link
Collaborator

Error retrieving alias columns in 2.4.1

2024-11-22 16:47:25.624 ERROR - *** TABLE METADATA not retrieved for Database(db), table(event) retrying
2024-11-22 16:47:25.624 INFO  - *************** EXECUTED BATCH Successfully Records: 1192************** task(0) Thread ID: Sink Connector thread-pool-7 Result: [I@937031c Database: db Table: rjt
2024-11-22 16:47:25.624 ERROR - Error getting alias columns
java.lang.NullPointerException: null
2024-11-22 16:47:25.624 ERROR - Error with DB connection
2024-11-22 16:47:25.624 ERROR - Error with DB connection
2024-11-22 16:47:25.624 ERROR - Error with DB connection
@subkanthi subkanthi added this to the 2.5.0 milestone Nov 25, 2024
@subkanthi subkanthi added the lightweight Issues related to Lightweight version label Nov 25, 2024
@subkanthi subkanthi self-assigned this Nov 25, 2024
@subkanthi subkanthi changed the title Error retrieving alias columns Error retrieving alias columns - ClickHouse 23.8 Nov 25, 2024
@subkanthi
Copy link
Collaborator Author

Cannot reproduce error
with

Connected to ClickHouse server version 23.8.5 revision 54465.

@subkanthi
Copy link
Collaborator Author

9d26a6f6e615 :) select query,exception_code from system.query_log where query like '%MATERIALIZED%' and exception_code != 0;

SELECT
    query,
    exception_code
FROM system.query_log
WHERE (query LIKE '%MATERIALIZED%') AND (exception_code != 0)

Query id: a578e155-8ec6-488d-b216-77e5574c49b5

Ok.

0 rows in set. Elapsed: 0.004 sec. Processed 8.82 thousand rows, 1.52 MB (2.51 million rows/s., 431.90 MB/s.)
Peak memory usage: 1.11 MiB.

@subkanthi
Copy link
Collaborator Author


9d26a6f6e615 :) select query,exception_code from system.query_log where query like '%MATERIALIZED%';

SELECT
    query,
    exception_code
FROM system.query_log
WHERE query LIKE '%MATERIALIZED%'

Query id: 459d0378-3f88-4273-9929-94f2bf70e3f8

┌─query──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬─exception_code─┐
│ CREATE TABLE if not exists altinity_sink_connector.replica_source_info ( `id` String, `offset_key` String, `offset_val` String, `record_insert_ts` DateTime, `record_insert_seq` UInt64, `_version` UInt64 MATERIALIZED toUnixTimestamp64Nano(now64(9)) ) ENGINE = ReplacingMergeTree(_version) ORDER BY offset_key SETTINGS index_granularity = 8192 │              0 │
│ CREATE TABLE if not exists altinity_sink_connector.replica_source_info ( `id` String, `offset_key` String, `offset_val` String, `record_insert_ts` DateTime, `record_insert_seq` UInt64, `_version` UInt64 MATERIALIZED toUnixTimestamp64Nano(now64(9)) ) ENGINE = ReplacingMergeTree(_version) ORDER BY offset_key SETTINGS index_granularity = 8192 │              0 │
│ SELECT name FROM system.columns WHERE (table = 'sbtest1') AND (database = 'chtest') and (default_kind='ALIAS' or default_kind='MATERIALIZED') 

@subkanthi subkanthi added the not reproducible Cannot reproduce the bug. label Nov 25, 2024
@subkanthi subkanthi modified the milestones: 2.5.0, 2.6.0 Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lightweight Issues related to Lightweight version not reproducible Cannot reproduce the bug.
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant