Apache Presto - index(字串,子字串)



查询

presto:default> select index('tutorialspoint','point') as index; 

结果

 index 
------- 
  10

这里,给定字符串“tutorialspoint”的索引位置 10 为point。

apache_presto_sql_functions.htm
广告
© . All rights reserved.