Skip to main content
Solved

Troubleshooting data sets


I have a data set created and the query runs fine in a sql editor against my local database. I can deploy the configuration with no errors, but when I go to look at the data in Ataccama One I get Fatal error occurred and click on Details just gives me Internal error. The only thing I can think of is the query is rather long. Is there a max for data set sql? What is the best way to try to troubleshoot this? The error messages are not at all helpful.

Best answer by ivan.kozlov

Hi @Patty B ,
The log suggests that the error is at “Position: 4092” so I'd suggest to find that position in your query and check if there’s and error. You should be able to do this using, for example, Notepad++ (Search →  Go To (Offset) → Position).

There are indeed some properties that might have to be adjusted to for massive queries, but we’ve successfully executed some queries which had ~15000 rows of SQL without making any changes. And if the query size was an issue - most likely you’d see some Timeout related error in the logs, while what you currently see seems to be syntax related.

View original
Did this topic help you find an answer to your question?

3 replies

Forum|alt.badge.img+2
  • Ataccamer
  • 146 replies
  • May 8, 2024

Hi @Patty B, have you checked logs? Are there any messages around the time you clicked on the Dataset?


  • Author
  • Data Enthusiast
  • 1 reply
  • May 8, 2024

I do see some errors, but am unsure what to do
 

log:

{"@timestamp":"2024-05-06T21:01:12.098098609Z","@version":"1","message":"messageId=RdmRPCUtil-err-msg ","logger_name":"com.ataccama.rdm.server.RdmRPCUtil","thread_name":"http-nio-8060-exec-4","severity":"ERROR","level_value":40000,"stack_trace":"com.ataccama.mdm.be.shared.sql.RdmSqlException: org.postgresql.util.PSQLException: ERROR: syntax error at or near \";\"\n Position: 4092\n\tat com.ataccama.rdm.dblayer.persistence.RdmDefaultSelect.select(RdmDefaultSelect.java:229)\n\tat com.ataccama.rdm.dblayer.persistence.RdmDefaultSelect.count(RdmDefaultSelect.java:361)\n\tat

 

there are no semicolons in my sql, which is how I’m interpreting this error


ivan.kozlov
Ataccamer
Forum|alt.badge.img+3
  • Ataccamer
  • 26 replies
  • Answer
  • May 9, 2024

Hi @Patty B ,
The log suggests that the error is at “Position: 4092” so I'd suggest to find that position in your query and check if there’s and error. You should be able to do this using, for example, Notepad++ (Search →  Go To (Offset) → Position).

There are indeed some properties that might have to be adjusted to for massive queries, but we’ve successfully executed some queries which had ~15000 rows of SQL without making any changes. And if the query size was an issue - most likely you’d see some Timeout related error in the logs, while what you currently see seems to be syntax related.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings