Comments (4)
I think all columns are referred to by their fully qualified names "table.column". If not, we should probably do that everywhere.
from aidb.
I think, maybe here they are not
from aidb.
Yes, all columns are referred to by their fully qualified names "table.column".
To make the output can be deterministically generated, we need to make sure any primary key column in the output table with a foreign key relationship must exist in the primary key columns of the input tables. For example, suppose table A, table B are input tables, table C is a output table, C has a composite primary key (key1, key2, key3). If key1, key2 are foreign keys, they must refer to column in table A or table B. If key1 refer to another table D, we should raise an exception. However, a foreign key can only refer to one column in parent table. For multi input table situation, we make an assumption. Column with same name in different tables represent same thing. Suppose table A, table B are input tables, they have same column Frame. Table A can join Table B on Table A.Frame = Table B.Frame. Then the output table C should contain column Frame, and it only need to refer to one of Table A.Frame and Table B.Frame.
from aidb.
Perfect, makes sense.
from aidb.
Related Issues (20)
- Sync sqlglot with upstream
- Allow for versioning of ML models
- Allow for clearing all ML model results
- Loosen requirements.txt HOT 1
- Remove unneeded check HOT 5
- Separate out blob table creation and insertion in the blob table
- Support python 3.12 HOT 3
- Run 10 trials of aggregation tests on GitHub actions, 100 locally HOT 2
- Integrate control variate optimization via proxies
- Option not to truncate query result on the terminal
- Possible to change blob table? HOT 2
- Support infer batch HOT 1
- Refactor test_query_parsing file HOT 3
- Parsing error if column in SELECT clause has same name as keyword HOT 1
- Parsing error for logic operator in WHERE clause HOT 4
- Input tables may have foreign keys to another input table
- Remove the dependency of duckdb, implement it by ourselves
- Don't support User Defined Function as an intermediate filter predicate to filter blobs
- Refactor the query validity check
- For approximate join queries, duplicate column names in two tables are not allowed.
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 aidb.