mirromutth / r2dbc-mysql

R2DBC MySQL Implementation
Apache License 2.0
656 stars 100 forks source link

SQLReplaceStatement is NOT supported #147

Open YeautyYE opened 3 years ago

YeautyYE commented 3 years ago
Caused by: io.r2dbc.spi.R2dbcNonTransientResourceException: [15022, 2020111414401217201600608703151428878] statement type: class com.alibaba.fastsql.sql.ast.statement.SQLReplaceStatement is NOT supported! 
    at dev.miku.r2dbc.mysql.ExceptionFactory.mappingSqlState(ExceptionFactory.java:115) ~[blob_p-6fe34b669c7ab9de3d81cd9c1efb7e138b449863-783e18bcebf90e8f78d9d1e71b474b69:?]
    Suppressed: reactor.core.publisher.FluxOnAssembly$OnAssemblyException: 
Error has been observed at the following site(s):
    |_ checkpoint ⇢ SQL "REPLACE INTO t_temp (id,name,age) VALUES :tuples" 
mirromutth commented 3 years ago

Sounds like you are using AnalysisDB for MySQL.

This exception is reported by the AnalysisDB server, because the exception is created by ExceptionFactory.mappingSqlState.

Therefore, this may be a problem caused by AnalysisDB, could you tell me more details?

YeautyYE commented 3 years ago

yes, I using AnalysisDB for MySQL.