Closed uberroot4 closed 5 months ago
Hello @uberroot4,
The first point is valid and should be improved to work exactly like SQL
The Limit point is on TODO but it will require a more advanced QueryPlanner and Optimizer to make it work perfect
Hello @uberroot4,
This issue fixed on 0.22.0
You can now run select commit_count as cc from branches where commit_count > 1
Hello, I've encountered your project and tried to implement some (imo) missing columns for some types. When it comes to the
diffs
table, I am missing a reference to where the diff was made to. Checking the code I found it and decided to simply add it to the possible columns:TABLES_FIELDS_TYPES
bymap.insert("diff_to", DataType::Text);
TABLES_FIELDS_NAMES
("diffs"
) by"diff_to"
Modifying the
git_data_provider
by:diff_to
while I'm having it in theWHERE
clause, it raises an error: "Invalid column namediff_to
". When i useWHERE to_ IS NULL
then it wirks fine.Expected behavior As far as I am aware of SQL, renaming a column and using it in a
WHERE
clause is exact the opposite as inGQL
. So I think the renamig part in the rust Code should be applied after the consolidation of all columns.Another remark When investigating the problem (at first I thought the problem lies somewhere else), I encountered that the
LIMIT X
clause is applied after theSELECT
statement -- respectively I just tried a simpleprintln
for debugging. For the sake of resource management, shouldn't it be applied before? Meaning thatGQL
could abort therevwalk
section afterX
iterations?GQL:
Best, Manuel