You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/main.test.js
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -411,6 +411,11 @@ describe('select grammar support', function () {
411
411
it('bugfix table alias2',function(){
412
412
testParser('select a.* from a t1 join b t2 on t1.a = t2.a')
413
413
});
414
+
it('place holder support',function(){
415
+
testParser(
416
+
"select sum(quota_value) value, busi_col2 as sh, ${a} as a, YEAR(now()) from der_quota_summary where table_ename = 'gshmyyszje_derivedidx' and cd = (select id from t1 where a = ${t1})"
417
+
)
418
+
});
414
419
415
420
it('support quoted alias: multiple alias and orderby support',function(){
416
421
testParser('select a as `A A`, b as `B B` from z');
0 commit comments