Вы находитесь на странице: 1из 3

Modify Stage Functions

Result date date date date int8 int8 int16 int32 int32 int8 date date string ustring int16 int8 decimal decimal decimal decimal dfloat int32 int64 string ustring uint64 string ustring int16 Specification date_from_days_since[date](int32) date_from_julian_day(int32) date_from_string[date_format](string) date_from_ustring[date_format](ustring) month_day_from_date(date) weekday_from_date[origin_day](date) year_day_from_date(date) days_since_from_date[source_date](date) julian_day_from_date(date) month_from_date(date) next_weekday_from_date[weekday](date) previous_weekday_from_date[weekday](date) string_from_date[date_format](date) ustring_from_date[date_format](date) year_from_date(date) year_week_from_date(date) decimal_from_decimal[r_type](decimal) decimal_from_dfloat[r_type](dfloat) decimal_from_string[r_type](string) decimal_from_ustring[r_type](ustring) dfloat_from_decimal[fix_zero](decimal) int32_from_decimal[r_type,fix_zero](decimal) int64_from_decimal[r_type,fix_zero](decimal) string_from_decimal[fix_zero](decimal) ustring_from_decimal[fix_zero](decimal) uint64_from_decimal[r_type,fix_zero](decimal) lookup_string_from_int16[tabledef](int16) lookup_ustring_from_int16[tabledef](int16) lookup_int16_from_string[tabledef](string) 1-12 1-31 0-6 1-366 Domain Category Interval Date Component Conversion Conversion Date Component Date Component Date Component Interval Date Component Date Component Interval Interval Conversion Conversion Date Component Date Component Conversion Conversion Conversion Conversion Conversion Conversion Conversion Conversion Conversion Conversion Lookup Lookup Lookup

Result int16 string ustring int32 int32 int32 string ustring int32 int32 string ustring string ustring string ustring string string string int8 int32 int8 dfloat dfloat string ustring time time time time

Specification lookup_int16_from_ustring[tabledef](ustring) lookup_string_from_int32[tabledef](int32) lookup_ustring_from_int32[tabledef](int32) lookup_int32_from_string[tabledef](string) lookup_int32_from_ustring[tabledef](ustring) raw_length(any) string_from_ustring(ustring) ustring_from_string(string) string_length(string) ustring_length(ustring) substring[start,length](string) u_substring[start,length](ustring) uppercase_string(string) uppercase_ustring(ustring) lowercase_string(string) lowercase_ustring(ustring) string_trim(string) string_trim(string,character) string_trim(string,character,direction) hours_from_time(time) microseconds_from_time(time) minutes_from_time(time) seconds_from_time(time) midnight_seconds_from_time(time) string_from_time[time_format](time) ustring_from_time[time_format](time) time_from_midnight_seconds(dfloat) time_from_timestamp(timestamp) time_from_string[time_format](string) time_from_ustring[time_format](ustring)

Domain

Category Lookup Lookup Lookup Lookup Lookup Raw Conversion Conversion String String String String String String String String String String String

0-23 0-999999 0-59 0-59 0-86399

Time Component Time Component Time Component Time Component Time Component Conversion Conversion Conversion Conversion Conversion Conversion

Result int32 timestamp string ustring int32 timestamp timestamp timestamp timestamp timestamp any any int8 int8 int8

Specification seconds_since_from_timestamp[timestamp](timestamp) timestamp_from_seconds_since(dfloat) string_from_timestamp[timestamp_format](timestamp) ustring_from_timestamp[timestamp_format](timestamp) timet_from_timestamp(timestamp) timestamp_from_string[timestamp_format](string) timestamp_from_ustring[timestamp_format](ustring) timestamp_from_timet(int32) timestamp_from_date[time](date) timestamp_from_time[date](time) handle_null(any, value) make_null(any) null(any) notnull(any) is_datatype_inband_null(datatype)

Domain

Category Interval Conversion Conversion Conversion Conversion Conversion Conversion Conversion Conversion Conversion Null Null

0-1 0-1 0-1

Null Null Null

r_type ::=

ceil floor round_inf trunc_zero

1.4 -> 2 1.4 -> 1 1.6 -> 1

-1.4 -> -1 -1.4 -> -2 -1.6 -> -1

conventional rounding

tabledef ::= property_list ::=

{property_list}(code=value;code=value;) case_sensitive default_value = value | default_string = 'string'

semi-colon delimited separated by comma from

date_format ::= time_format ::= datatype ::=

%dd %mm %yy | %2000yy | %yyyy %ddd %hh %mm %ss | %ss.n int16 | int32 | int64 | dfloat | sfloat | string | ustring

with delimiters with delimiters