exacaster / lighter

REST API for Apache Spark on K8S or YARN
MIT License
91 stars 21 forks source link

error H2 Integrity Constraint Violation Exception #618

Closed julienlau closed 1 year ago

julienlau commented 1 year ago

Hi, I switched to the latest version that include the new "get statement" list feature. However I think there is a bug.

I now have this error on submit statement to an existing session :

13:15:21.054 [scheduled-executor-thread-4] INFO  c.e.l.application.batch.BatchHandler - Triggered 0 new batch jobs. Waiting launches to complete.                                          
13:15:26.015 [io-executor-thread-1] ERROR i.m.http.server.RouteExecutor - Unexpected error occurred: org.h2.jdbc.JdbcSQLIntegrityConstraintViolationException: Referential integrity cons  INSERT INTO application_statement(id, application_id, state, code, created_at) VALUES (?, ?, ?, ?, ?) [23506-200] [statement:"INSERT INTO application_statement(id, application_id, state  from random import random     
julienlau commented 1 year ago

my mistake !