내 커뮤니티 업적 표시줄을 확대합니다.

Adobe Experience Platform (AEP) & Apps User Groups are live to Network, learn, and share in your regional locations.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Query Service - Querying dataset from DB visualizer client

Avatar

Level 3

Hi All,

 

I've integrated query service with DB visualizer client and querying dataset. But it gives me syntax error.

 

Query : Select * from my_dataset

Error : [Code: 0, SQL State: 42601] ERROR: line 1:28: mismatched input ',' expecting {<EOF>, '.', '[', 'AT', '+', '-', '*', '/', '%', '||', '::', '^'}

Query Service log : 

vikash4_0-1661329275218.png

 

To check this issue, I've integrated query service with HeidiSQL client and executed the same query successfully.

Thanks.

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Community Advisor

I see, issue could be with path. Do you have any attribute/column which is a root node and doesn't require (.) operator. E.g: Select timestamp from xxxxx . Also please check log on AEP side in query service section.

Edit : Can you please also confirm, which version of DBV you're using ? I tried same stuffs and they're working fine with DBV 13.0.4. 

AtulChavan_1-1661351124920.png

 


I feel, this is something to do with DBV not AEP. Looking at your editor of DBV if you see column path 'name' is interpreted as keyword. It could be earlier version of DBV results into error but they might have fixed it in latest version ? 

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Community Advisor

Hi @vikash4,
You may try listing actual column names that are required instead '*'.     

Avatar

Level 3

Hi @AtulChavan ,

thanks for your reply.

Tried with column name but facing same error. Same query running successfully in AEP query service but not in DB visualizer.

vikash4_0-1661347427109.png

 

Avatar

정확한 답변 작성자:
Community Advisor

I see, issue could be with path. Do you have any attribute/column which is a root node and doesn't require (.) operator. E.g: Select timestamp from xxxxx . Also please check log on AEP side in query service section.

Edit : Can you please also confirm, which version of DBV you're using ? I tried same stuffs and they're working fine with DBV 13.0.4. 

AtulChavan_1-1661351124920.png

 


I feel, this is something to do with DBV not AEP. Looking at your editor of DBV if you see column path 'name' is interpreted as keyword. It could be earlier version of DBV results into error but they might have fixed it in latest version ?