Comments (5)
It is expected, we derive types of columns for recursive CTE table from non-recursive term.
from clickhouse.
I see. but it is different from most of other DBMS
from clickhouse.
I see. but it is different from most of other DBMS
Could you please provide example ? As I understand for example in PostgreSQL logic is the same, but how types are derived is different.
from clickhouse.
yes, they treat 1 as int32 type number.
from clickhouse.
yes, they treat 1 as int32 type number.
Yes, but in our case we cannot change type deduction logic, so for recursive CTE it is possible to have issues with integer types overflow, and client need to manually add cast
.
That problem can also appear in simple SQL queries when you translate them from other DBMS to ClickHouse.
from clickhouse.
Related Issues (20)
- Unexpected result of WHERE for subquery with omitted GROUP BY and UNION ALL HOT 2
- Implementing "move part to shard" feature with Fixes HOT 4
- Logical error: 'mutation_pointer < it->second->entry->znode_name' (in stress test) HOT 1
- Alias column in subquery for `IN` is not expanded before skip index analysis
- Improve the performance of `rb_contain` of 32-bit Bitmap
- OOM are prone to occur in window functions HOT 1
- The Recursive CTEs for generating Fibonacci Sequence produce wrong rows after n > 10. HOT 1
- There is a bug in decimal data comparison HOT 2
- Decimal
- Code: 241. DB::Exception: Memory limit (total) exceeded
- Code: 241. DB::Exception: Memory limit (total) exceeded HOT 1
- I need an unexpected set of privileges when inserting into the first source table in cascading materialized view HOT 1
- Unable to restore backups of tables with Object('json') column HOT 2
- Flaky / stuck: 02864_statistics_uniq HOT 1
- Wrong downcast from 'const DB::ColumnVector<UInt64>' to 'DB::ColumnLowCardinality' HOT 2
- Unexpected S3 reconciliation after a minor upgrade is causing high outgoing bandwidth usage, resource exhaustion HOT 2
- Optimize injective functions with several arguments inside of Uniq functions
- Apply LIMIT in GROUP BY
- S3Queue Log Status Ignores Failed Downstream Materialized Views
- min_bytes_to_use_direct_io > 0 can lead to "Cannot read all array values" or even segfault HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clickhouse.