TO_INT8

Learn how to use the TO_INT8 conversion function in PlaidCloud Lakehouse. Converts a value to INT8 data type. See syntax and usage examples.

Converts a value to INT8 data type.

Analyze Syntax

func.to_int8( <expr> )

Analyze Examples

func.to_int8('123')

┌─────────────────────┐
 func.to_int8('123') 
├─────────────────────┤
                 123 
└─────────────────────┘

SQL Syntax

TO_INT8( <expr> )

SQL Examples

SELECT TO_INT8('123');

┌────────────────┐
 to_int8('123') 
      UInt8     
├────────────────┤
            123 
└────────────────┘