Skip to content

🐛 [Bug] io.edurt.datacap.convert.json.JsonConvertService#format 丢失LocalDateTime 秒 #920

Closed
@ZiQiaoWang

Description

@ZiQiaoWang

Contribution guidelines

I've found a bug and checked that ...

  • ... the problem doesn't occur with the server or web themes
  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Affected Module

Parser

Description

49行 is List<*> -> jsonNode.putPOJO(header, column[headerIndex])

40行 io.edurt.datacap.executor.local.LocalExecutorService#start
StringEscapeUtils.escapeSql(objectNode.get(value.original).asText()
会导致当查询出的数据集 当字段为datetime类型并且秒和毫秒均为0时 格式化后缺失 :00的秒部分 ,最终导致 clickhouse 数据集同步数据失败

Expected behaviour

No response

Actual behaviour

No response

Steps to reproduce

No response

Package versions

  • Java: java --version
  • Node: node --version
  • Npm: npm -v
  • Server: ./mvnw -Dexec.executable='echo' -Dexec.args='${project.version}' --non-recursive exec:exec -Dorg.slf4j.simpleLogger.defaultLogLevel=WARN -Dorg.slf4j.simpleLogger.log.org.apache.maven.plugins.help=INFO | tail -1

Configuration

System information

环境:
mysql 8.0.36
clickhouse 25.3.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions