Conversation
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
vortex-file/src/filesystem/mod.rs
Outdated
|
@claude review |
|
Claude finished @0ax1's task in 2m 24s —— View job PR Review: DuckDB Lifetimes
SummaryThis is a well-motivated and cleanly executed refactor that replaces the old 🐛 Bugs1.
pub fn as_slice_with_len<T>(&self, length: usize) -> &[T] {
let ptr = unsafe { cpp::duckdb_vector_get_data(self.as_ptr()) };
unsafe { std::slice::from_raw_parts_mut(ptr.cast::<T>(), length) }
}This method:
Compare with the correctly- 2.
/// Note the lifetime of logical type is tied to &self
pub fn logical_type(&self) -> &LogicalType {
unsafe { LogicalType::borrow(cpp::duckdb_get_value_type(self.as_ptr())) }
}The
|
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
| /// The caller must ensure that the underlying `ObjectCache` outlives all uses of the | ||
| /// returned reference. In practice, the `ObjectCache` is owned by the `DatabaseInstance` | ||
| /// and lives as long as the database, so this is safe as long as the database is kept alive. | ||
| pub unsafe fn erase_lifetime(&self) -> &'static Self { |
Polar Signals Profiling ResultsLatest Run
Powered by Polar Signals Cloud |
Benchmarks: PolarSignals ProfilingSummary
Detailed Results Table
|
Benchmarks: TPC-H SF=1 on NVMESummary
Detailed Results Table
|
Benchmarks: FineWeb NVMeSummary
Detailed Results Table
|
Benchmarks: TPC-H SF=1 on S3Summary
Detailed Results Table
|
🚨🚨🚨❌❌❌ SQL BENCHMARK FAILED ❌❌❌🚨🚨🚨Benchmark |
Benchmarks: TPC-DS SF=1 on NVMESummary
Detailed Results Table
|
Benchmarks: FineWeb S3Summary
Detailed Results Table
|
Benchmarks: Statistical and Population GeneticsSummary
Detailed Results Table
|
Benchmarks: Random AccessSummary
Detailed Results Table
|
Benchmarks: TPC-H SF=10 on S3Summary
Detailed Results Table
|
Benchmarks: Clickbench on NVMESummary
Detailed Results Table
|
Benchmarks: CompressionSummary
Detailed Results Table
|
With a little (big) help from Claude, this moves all DuckDB wrapper types to an OwnedFoo / &Foo model and removes the janky
owned: boolfield.