File tree Expand file tree Collapse file tree
vortex-array/src/scalar_fn/fns
vortex-tensor/src/scalar_fns Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ impl ScalarFnVTable for DynamicComparison {
4646 type Options = DynamicComparisonExpr ;
4747
4848 fn id ( & self ) -> ScalarFnId {
49- ScalarFnId :: new_ref ( "vortex.dynamic" )
49+ ScalarFnId :: from ( "vortex.dynamic" )
5050 }
5151
5252 fn arity ( & self , _options : & Self :: Options ) -> Arity {
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ impl ScalarFnVTable for IsNull {
3434 type Options = EmptyOptions ;
3535
3636 fn id ( & self ) -> ScalarFnId {
37- ScalarFnId :: new_ref ( " is_null")
37+ ScalarFnId :: from ( "vortex. is_null")
3838 }
3939
4040 fn serialize ( & self , _instance : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ impl ScalarFnVTable for Literal {
3838 type Options = Scalar ;
3939
4040 fn id ( & self ) -> ScalarFnId {
41- ScalarFnId :: new_ref ( "vortex.literal" )
41+ ScalarFnId :: from ( "vortex.literal" )
4242 }
4343
4444 fn serialize ( & self , instance : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ impl ScalarFnVTable for Merge {
5151 type Options = DuplicateHandling ;
5252
5353 fn id ( & self ) -> ScalarFnId {
54- ScalarFnId :: new_ref ( "vortex.merge" )
54+ ScalarFnId :: from ( "vortex.merge" )
5555 }
5656
5757 fn serialize ( & self , instance : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ impl ScalarFnVTable for Pack {
5454 type Options = PackOptions ;
5555
5656 fn id ( & self ) -> ScalarFnId {
57- ScalarFnId :: new_ref ( "vortex.pack" )
57+ ScalarFnId :: from ( "vortex.pack" )
5858 }
5959
6060 fn serialize ( & self , instance : & Self :: Options ) -> VortexResult < Option < Vec < u8 > > > {
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ impl ScalarFnVTable for Select {
4848 type Options = FieldSelection ;
4949
5050 fn id ( & self ) -> ScalarFnId {
51- ScalarFnId :: new_ref ( "vortex.select" )
51+ ScalarFnId :: from ( "vortex.select" )
5252 }
5353
5454 fn serialize ( & self , instance : & FieldSelection ) -> VortexResult < Option < Vec < u8 > > > {
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ impl ScalarFnVTable for CosineSimilarity {
7474 type Options = ApproxOptions ;
7575
7676 fn id ( & self ) -> ScalarFnId {
77- ScalarFnId :: new_ref ( "vortex.tensor.cosine_similarity" )
77+ ScalarFnId :: from ( "vortex.tensor.cosine_similarity" )
7878 }
7979
8080 fn arity ( & self , _options : & Self :: Options ) -> Arity {
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ impl ScalarFnVTable for InnerProduct {
7777 type Options = ApproxOptions ;
7878
7979 fn id ( & self ) -> ScalarFnId {
80- ScalarFnId :: new_ref ( "vortex.tensor.inner_product" )
80+ ScalarFnId :: from ( "vortex.tensor.inner_product" )
8181 }
8282
8383 fn arity ( & self , _options : & Self :: Options ) -> Arity {
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ impl ScalarFnVTable for L2Norm {
7171 type Options = ApproxOptions ;
7272
7373 fn id ( & self ) -> ScalarFnId {
74- ScalarFnId :: new_ref ( "vortex.tensor.l2_norm" )
74+ ScalarFnId :: from ( "vortex.tensor.l2_norm" )
7575 }
7676
7777 fn arity ( & self , _options : & Self :: Options ) -> Arity {
You can’t perform that action at this time.
0 commit comments