Skip to content

Commit

Permalink
removing parallel_safe from new functions and accessor
Browse files Browse the repository at this point in the history
  • Loading branch information
thatzopoulos committed Dec 1, 2022
1 parent 0cce74a commit e39abc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion extension/src/accessors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ pub mod toolkit_experimental {

ron_inout_funcs!(AccessorPercentileArray);

#[pg_extern(immutable, parallel_safe, name = "approx_percentiles")]
#[pg_extern(immutable, name = "approx_percentiles")]
pub fn accessor_percentiles(unit: Vec<f64>) -> AccessorPercentileArray<'static> {
unsafe {
flatten! {
Expand Down
3 changes: 1 addition & 2 deletions extension/src/uddsketch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ pub fn uddsketch_approx_percentile<'a>(percentile: f64, sketch: UddSketch<'a>) -
)
}

#[pg_operator(immutable, parallel_safe)]
#[pg_operator(immutable)]
#[opname(->)]
pub fn arrow_uddsketch_approx_percentile_array<'a>(
sketch: UddSketch<'a>,
Expand All @@ -594,7 +594,6 @@ pub fn arrow_uddsketch_approx_percentile_array<'a>(
#[pg_extern(
immutable,
schema = "toolkit_experimental",
parallel_safe,
name = "approx_percentile_array"
)]
pub fn uddsketch_approx_percentile_array<'a>(
Expand Down

0 comments on commit e39abc1

Please sign in to comment.