miscelanous updates
This commit is contained in:
parent
7ba6f3bef3
commit
7e4a4b5583
|
|
@ -69,6 +69,7 @@
|
||||||
"thread": "cpp",
|
"thread": "cpp",
|
||||||
"numeric": "cpp",
|
"numeric": "cpp",
|
||||||
"stack": "cpp",
|
"stack": "cpp",
|
||||||
"list": "cpp"
|
"list": "cpp",
|
||||||
|
"variant": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1,21 +0,0 @@
|
||||||
cmake_minimum_required(VERSION 3.0)
|
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
|
||||||
|
|
||||||
set(CMAKE_OSX_DEPLOYMENT_TARGET "10.14")
|
|
||||||
|
|
||||||
|
|
||||||
project(usql)
|
|
||||||
|
|
||||||
set(PROJECT_NAME usql)
|
|
||||||
|
|
||||||
set(SOURCE
|
|
||||||
exception.cpp lexer.cpp parser.cpp usql.cpp main.cpp table.cpp table.h row.cpp row.h csvreader.cpp csvreader.h ml_date.cpp)
|
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME} ${SOURCE})
|
|
||||||
|
|
||||||
target_link_libraries(${PROJECT_NAME} stdc++ m)
|
|
||||||
|
|
||||||
target_compile_options(usql PRIVATE -g)
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
|
||||||
### TODO
|
### TODO
|
||||||
|
- escape " in save csv
|
||||||
|
- is null | is not null
|
||||||
- coalesce, date functions now, add_date; string functions rtrim, ltrim, rpad, lpad; math function round
|
- coalesce, date functions now, add_date; string functions rtrim, ltrim, rpad, lpad; math function round
|
||||||
- add pipe | concatenation
|
- add pipe | concatenation
|
||||||
|
- add support for 1_000_000 numbers
|
||||||
|
|
||||||
- support for order by, offset, limit (allow column name in order by, validate)
|
- support for order by, offset, limit (allow column name in order by, validate)
|
||||||
- support for uniqueue indexes (primary key)
|
- support for uniqueue indexes (primary key)
|
||||||
|
|
@ -9,6 +11,7 @@
|
||||||
- support for joining
|
- support for joining
|
||||||
- add count min and max functions, eg aggregate functions
|
- add count min and max functions, eg aggregate functions
|
||||||
|
|
||||||
|
- use string_to_double and string_to_long (from Table) everywhere
|
||||||
- add const wherever should be
|
- add const wherever should be
|
||||||
- PERF in Row::Row(const Row &other), could be more efficient (memory and cpu)
|
- use static methods where posible
|
||||||
- use references where pointer cannot be nullptr
|
- use references where pointer cannot be nullptr
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue