Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
functions_rounding.yaml - Substrait: Cross-Language Serialization for Relational Algebra
[go: Go Back, main page]

Skip to content

functions_rounding.yaml

This document file is generated for functions_rounding.yaml. The extension URN is extension:io.substrait:functions_rounding.

Scalar Functions

ceil

Rounding to the ceiling of the value x.

Implementations:

  • ceil(x: fp32): -> fp32
  • ceil(x: fp64): -> fp64

floor

Rounding to the floor of the value x.

Implementations:

  • floor(x: fp32): -> fp32
  • floor(x: fp64): -> fp64

round

Rounding the value x to s decimal places.

Implementations:

  • round(x: i8, s: i32, option:rounding): -> i8?
  • round(x: i16, s: i32, option:rounding): -> i16?
  • round(x: i32, s: i32, option:rounding): -> i32?
  • round(x: i64, s: i32, option:rounding): -> i64?
  • round(x: fp32, s: i32, option:rounding): -> fp32?
  • round(x: fp64, s: i32, option:rounding): -> fp64?
Options:
  • rounding ['TIE_TO_EVEN', 'TIE_AWAY_FROM_ZERO', 'TRUNCATE', 'CEILING', 'FLOOR', 'AWAY_FROM_ZERO', 'TIE_DOWN', 'TIE_UP', 'TIE_TOWARDS_ZERO', 'TIE_TO_ODD']