Skip to content

Commit 7b67217

Browse files
committed
merge
Signed-off-by: Nicholas Gates <[email protected]>
1 parent bae2135 commit 7b67217

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

vortex-ffi/cinclude/vortex.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -379,12 +379,6 @@ typedef struct {
379379
extern "C" {
380380
#endif // __cplusplus
381381

382-
/**
383-
* Attempt to shutdown the shared tokio runtime if no sessions are active.
384-
* May block indefinitely if the runtime is still running tasks.
385-
*/
386-
void vx_try_shutdown_runtime(void);
387-
388382
/**
389383
* Clone a borrowed [`vx_array`], returning an owned [`vx_array`].
390384
*
@@ -672,7 +666,10 @@ const vx_file *vx_file_open_reader(const vx_file_open_options *options,
672666
const vx_session *session,
673667
vx_error **error_out);
674668

675-
void vx_file_write_array(const char *path, const vx_array *array, vx_error **error_out);
669+
void vx_file_write_array(const vx_session *session,
670+
const char *path,
671+
const vx_array *array,
672+
vx_error **error_out);
676673

677674
uint64_t vx_file_row_count(const vx_file *file);
678675

@@ -687,15 +684,17 @@ const vx_dtype *vx_file_dtype(const vx_file *file);
687684
/**
688685
* Can we prune the whole file using file stats and an expression
689686
*/
690-
bool vx_file_can_prune(const vx_file *file,
687+
bool vx_file_can_prune(const vx_session *session,
688+
const vx_file *file,
691689
const char *filter_expression,
692690
unsigned int filter_expression_len,
693691
vx_error **error_out);
694692

695693
/**
696694
* Build a new `vx_array_iterator` that returns a series of `vx_array`s from a scan over a `vx_layout_reader`.
697695
*/
698-
vx_array_iterator *vx_file_scan(const vx_file *file,
696+
vx_array_iterator *vx_file_scan(const vx_session *session,
697+
const vx_file *file,
699698
const vx_file_scan_options *opts,
700699
vx_error **error_out);
701700

@@ -722,7 +721,8 @@ vx_session *vx_session_new(void);
722721
* Opens a writable array stream, where sink is used to push values into the stream.
723722
* To close the stream close the sink with `vx_array_sink_close`.
724723
*/
725-
vx_array_sink *vx_array_sink_open_file(const char *path,
724+
vx_array_sink *vx_array_sink_open_file(const vx_session *session,
725+
const char *path,
726726
const vx_dtype *dtype,
727727
vx_error **error_out);
728728

0 commit comments

Comments
 (0)