Details
Description
sql(""" with va as ( select 15 a, 100 b union all select 15, 120 union all select 15, 130 union all select 15, 150 ) select t.*, min(t.b) over(partition by t.a order by t.b range between 0.15*t.b preceding and current row) c from va t """).show
throws
org.apache.spark.sql.catalyst.parser.ParseException: Frame bound value must be a literal.(line 12, pos 65)
The non-literal expression 0.15*t.b might leads this exception.
But the non-literal frame bound value has already been support by oracle which is very useful.