[MCOL-3895] follow up on rand(const) usage in regression test Created: 2020-03-19  Updated: 2020-03-24  Resolved: 2020-03-24

Status: Closed
Project: MariaDB ColumnStore
Component/s: PrimProc
Affects Version/s: None
Fix Version/s: Icebox

Type: Task Priority: Minor
Reporter: Patrick LeBlanc (Inactive) Assignee: Jose Rojas (Inactive)
Resolution: Done Votes: 0
Labels: None


 Description   

In mysql/queries/working_tpch1/qa_fe_cnxFunctions/RAND.sql,

there are queries like
select rand(1), rand(2) from t1;

We need to verify that rand(const) makes it to columnstore. Since it doesn't reference anything in a storage engine, the server may be doing that calculation.

If time is short, skip answering the question and change the const parameters to column names.



 Comments   
Comment by Jose Rojas (Inactive) [ 2020-03-24 ]

pleblanc I have confirmed rand(const), as well as rand() do reach columnstore, as long as table in FROM statement is a columnstore table

Generated at Thu Feb 08 02:46:15 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.