I created the following flatten table statement, syntactically it is correct, but when I run it, I get:
[Vertica]VJDBC ROLLBACK: Unrecognized node type: 311
Any idea how to fix it? Thanks
ALTER TABLE public.std_trades
ADD COLUMN ticks numeric(35,20)
DEFAULT (
SELECT price FROM (
SELECT distribution_id, base_asset_id, counter_asset_id, business_time1, TS_LAST_VALUE(price IGNORE NULLS) AS price
FROM prices_sync.ticks TIMESERIES business_time1 AS '1 minute'
OVER(PARTITION BY distribution_id, base_asset_id, counter_asset_id ORDER BY business_time)
) b
WHERE base_asset_id=b.base_asset_id and counter_asset_id=b.counter_asset_id
and DATE_TRUNC('MINUTE', external_trade_ts AT TIMEZONE 'UTC') = b.business_time1 and b.distribution_id=1000
)
;



. It also took me a while to figure out how to file a case.