stellarsql / StellarSQL

🚧 (Archived) StellarSQL: a minimal SQL DBMS written in Rust
https://stellarsql.github.io/StellarSQL/stellar_sql/
MIT License
86 stars 16 forks source link

Use UUID for the key of Field #26

Open tigercosmos opened 5 years ago

tigercosmos commented 5 years ago

When there is a join, there might be fields with same name, like t1.a = t2.a. We cannot use field name as the key for hashmap in such condition, so we should replace the key by UUID. Checking the field name only when it needs, and operating data via the UUID.

use uuid