You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fetch extension name and version from env variable
* set error message
* fix: Support boolean lists
* test: Add boolean list roundtrip test
* Fix link formatting in CONTRIBUTING.md
* derive Debug for Savepoint
* Use ptr::write when writing uninitialized memory
* Use smaller unsafe blocks
* Rust BindData/InitData can just use Rust types
* Use unsafe blocks inside unsafe fns generated by macro
This will prevent the macro generating a warning in edition 2024
* Fix unused import
* Better safety docs for vtab methods
Contrary to the previous docs, the instances passed to these functions are *not* initialized by the caller. Rather, the called function is responsible for writing into uninitialized memory.
* Similar safety fixes in vtab tests
* Update pola-rs
Try to get the fix for pola-rs/polars#19063 in a better way to fix CI
* Remove pola-rs workaround
* Upgrade arrow-rs to 54
* Fix test to trigger append error
* update to 1.2.0
* update polars again
* reexport polars-arrow, fix lifetime clippy
* upgrade sources, bindgen
* remove polars from default
* uh update source again?
* upgrade bindgen
* limit bindgen
* allow unsatble/deprecated c api for now
* format that shidd
* install openssl
* ok, update it and if it doesnt work we're getting rid of it
* yeet
* remove asan for now
* adjust timestamp tests for utc
* fix logicaltypeid export
* format
* add logicaltypeid export again
---------
Co-authored-by: Sam Ansmink <[email protected]>
Co-authored-by: peasee <[email protected]>
Co-authored-by: Alex Kesling <[email protected]>
Co-authored-by: Zheyu Shen <[email protected]>
Co-authored-by: Martin Pool <[email protected]>
Co-authored-by: John Allen <[email protected]>
Co-authored-by: nm <[email protected]>
# Intentionally omit time feature until we're on time 0.3, at which
77
-
# point it should be added to `bundled-full`.
78
-
args: '--features "buildtime_bindgen modern-full vtab-full vtab-loadable" --avoid-cfg-tarpaulin'# TODO restore to normal (https://github.com/xd009642/tarpaulin/issues/756#issuecomment-838769320)
// Set the minimum duckdb version (dev by default)
41
43
let minimum_duckdb_version = match args.min_duckdb_version{
42
44
Some(i) => i,
43
-
None => "dev".to_string(),
45
+
None => env::var("DUCKDB_EXTENSION_MIN_DUCKDB_VERSION").expect("Please either set env var DUCKDB_EXTENSION_MIN_DUCKDB_VERSION or pass it as an argument to the proc macro").to_string()
46
+
};
47
+
48
+
let extension_name = match args.ext_name{
49
+
Some(i) => i,
50
+
None => env::var("DUCKDB_EXTENSION_NAME").expect("Please either set env var DUCKDB_EXTENSION_MIN_DUCKDB_VERSION or pass it as an argument to the proc macro").to_string()
44
51
};
45
52
46
53
let ast = parse_macro_input!(item as syn::Item);
47
54
48
55
match ast {
49
56
Item::Fn(func) => {
50
-
let c_entrypoint = Ident::new(format!("{}_init_c_api",args.ext_name).as_str(),Span::call_site());
57
+
let c_entrypoint = Ident::new(format!("{}_init_c_api",extension_name).as_str(),Span::call_site());
51
58
let prefixed_original_function = func.sig.ident.clone();
0 commit comments