public class SqlPartitionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static LinkedHashMap<String,String> |
getPartitionKVs(org.apache.calcite.sql.SqlNodeList partitionSpec)
Get static partition key value pair as strings.
|
public static LinkedHashMap<String,String> getPartitionKVs(org.apache.calcite.sql.SqlNodeList partitionSpec)
For character literals we return the unquoted and unescaped values. For other types we use
SqlNode.toString()
to get the string format of the value literal.
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.