Skip to content

Added support for UNION and UNION ALL #359

Added support for UNION and UNION ALL

Added support for UNION and UNION ALL #359

Triggered via pull request November 22, 2025 22:32
@liuzicheng1987liuzicheng1987
synchronize #96
f/union
Status Failure
Total duration 9m 14s
Artifacts

linux-cxx20-vcpkg.yaml

on: pull_request
Matrix: linux
Fit to window
Zoom out
Zoom in

Annotations

42 errors
(llvm-18-sqlite)
Process completed with exit code 1.
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
constraints not satisfied for class template 'Transaction' [with _ConnType = sqlgen::duckdb::Connection]
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L195
static assertion failed: Must fulfill the is_connection concept.
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
variable has incomplete type 'const result_t<(lambda at /home/runner/work/sqlgen/sqlgen/include/sqlgen/duckdb/Connection.hpp:77:35)>' (aka 'const void')
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
constraints not satisfied for class template 'Transaction' [with _ConnType = sqlgen::duckdb::Connection]
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L195
static assertion failed: Must fulfill the is_connection concept.
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
variable has incomplete type 'const result_t<(lambda at /home/runner/work/sqlgen/sqlgen/include/sqlgen/duckdb/Connection.hpp:77:35)>' (aka 'const void')
(llvm-18-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite)
Process completed with exit code 1.
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(llvm-16-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
'this' cannot be implicitly captured in this context
(gcc-11-sqlite)
Process completed with exit code 1.
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template argument 1 is invalid
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template constraint failure for ‘template<class _ConnType> requires is_connection<_ConnType> class sqlgen::Transaction’
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L195
static assertion failed: Must fulfill the is_connection concept.
(gcc-11-sqlite): build/vcpkg_installed/x64-linux/include/rfl/internal/variant/result_t.hpp#L11
no type named ‘type’ in ‘struct std::invoke_result<sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1123&)>, sqlgen::dynamic::SelectFrom&>’
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
no matching function for call to ‘rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>::visit(sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1123&)>) const’
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
cannot call member function ‘std::string sqlgen::duckdb::Connection::to_sql(const Statement&)’ without object
(gcc-11-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
‘this’ was not captured for this lambda function
(gcc-14-sqlite)
Process completed with exit code 1.
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template argument 1 is invalid
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template constraint failure for ‘template<class _ConnType> requires is_connection<_ConnType> class sqlgen::Transaction’
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L195
static assertion failed: Must fulfill the is_connection concept.
(gcc-14-sqlite): build/vcpkg_installed/x64-linux/include/rfl/internal/variant/result_t.hpp#L11
no type named ‘type’ in ‘struct std::invoke_result<sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1123&)>, sqlgen::dynamic::SelectFrom&>’
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
no matching function for call to ‘rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>::visit(sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1123&)>) const’
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
cannot call member function ‘std::string sqlgen::duckdb::Connection::to_sql(const sqlgen::dynamic::Statement&)’ without object
(gcc-14-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
‘this’ was not captured for this lambda function
(gcc-12-sqlite)
Process completed with exit code 1.
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template argument 1 is invalid
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L197
template constraint failure for ‘template<class _ConnType> requires is_connection<_ConnType> class sqlgen::Transaction’
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L195
static assertion failed: Must fulfill the is_connection concept.
(gcc-12-sqlite): build/vcpkg_installed/x64-linux/include/rfl/internal/variant/result_t.hpp#L11
no type named ‘type’ in ‘struct std::invoke_result<sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1131&)>, sqlgen::dynamic::SelectFrom&>’
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
no matching function for call to ‘rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>::visit(sqlgen::duckdb::Connection::read<std::vector<sqlgen::internal::MockTable> >(const rfl::Variant<sqlgen::dynamic::SelectFrom, sqlgen::dynamic::SelectFrom::Union>&)::<lambda(const auto:1131&)>) const’
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
cannot call member function ‘std::string sqlgen::duckdb::Connection::to_sql(const sqlgen::dynamic::Statement&)’ without object
(gcc-12-sqlite): include/sqlgen/duckdb/Connection.hpp#L77
‘this’ was not captured for this lambda function