Re: [DISCUSS] support user-defined table function

2019-10-08 Thread Zhao Chun
Hi Mingyu 陈明雨 于2019年10月8日周二 上午10:17写道: > Hi ZhaoChun: > > > I have some questions: > > > 1. How does the TableFunctionScanNode works with other ScanNode? > > TableFunctionScanNode works like other ScanNode, who don't depend on other ExecNode. Because it generates data for its parent node. What T

Re:[DISCUSS] support user-defined table function

2019-10-07 Thread 陈明雨
Hi ZhaoChun: I have some questions: 1. How does the TableFunctionScanNode works with other ScanNode? For example: select * from B left join lateral from (select * from B where B.c1 > A.c1) In this SQL, What ScanNodes will be generated for the subquery in FROM clause? A single TableFuncti

[DISCUSS] support user-defined table function

2019-09-30 Thread Zhao Chun
Hi, all I want to support UDTF(user-defined table function) in Doris. Following is detailed design. ## Motivation Currently in some scenarios, users have the need to expand a row of data into multiple rows. For example, if a user's field stores an TAG list, then if he want to count the number of