starrocks icon indicating copy to clipboard operation
starrocks copied to clipboard

SELECT split("1m_2d", '_')[0];Starrocks supports executing this sql, why not give an error instead of an error result??

Open luckylhb90 opened this issue 1 year ago • 0 comments

Steps to reproduce the behavior (Required)

  1. SELECT split("1m_2d", '_')[0];

Expected behavior (Required)

I want to get an error or return a correct result like the other engines.

Real behavior (Required)

return null.... image

StarRocks version (Required)

  • 2.5.20 74821e9

luckylhb90 avatar May 10 '24 08:05 luckylhb90