supportsTableFunction reports whether the current dialect allows function-call style table references in the FROM list — Snowflake (FLATTEN, TABLE, IDENTIFIER, GENERATOR), BigQuery (UNNEST), and PostgreSQL (unnest, generate_series, json_each, ...).
()
| 270 | // (FLATTEN, TABLE, IDENTIFIER, GENERATOR), BigQuery (UNNEST), and |
| 271 | // PostgreSQL (unnest, generate_series, json_each, ...). |
| 272 | func (p *Parser) supportsTableFunction() bool { |
| 273 | switch p.dialect { |
| 274 | case string(keywords.DialectSnowflake), |
| 275 | string(keywords.DialectBigQuery), |
| 276 | string(keywords.DialectPostgreSQL): |
| 277 | return true |
| 278 | } |
| 279 | return false |
| 280 | } |
| 281 | |
| 282 | // parseSnowflakeTimeTravel parses the Snowflake time-travel / change-tracking |
| 283 | // modifier attached to a table reference. The current token must be one of |
no outgoing calls
no test coverage detected