[GitHub] [orc] guiyanakuang edited a comment on pull request #941: ORC-1030: Fix some bugs that Java Tools recovery file command cannot find OrcFile.MAGIC accurately

2021-10-19 Thread GitBox
guiyanakuang edited a comment on pull request #941: URL: https://github.com/apache/orc/pull/941#issuecomment-946774472 Travis CI caught a very rare exception, which I logged here first ``` java.time.format.DateTimeParseException: Text '2021-10-19T0700:01.683210-0700' could not be

[GitHub] [orc] guiyanakuang opened a new pull request #942: ORC-879: Fix testDateTimeTypeSupport unit test

2021-10-19 Thread GitBox
guiyanakuang opened a new pull request #942: URL: https://github.com/apache/orc/pull/942 ### What changes were proposed in this pull request? ```java OffsetDateTime datetime4 = OffsetDateTime.of(datetime2, ZoneOffset.ofHours(-7)); datetime4.toString().replace("07:00",

[jira] [Created] (ORC-1031) No way to escape delimiter in column values

2021-10-19 Thread Varun Raval (Jira)
Varun Raval created ORC-1031: Summary: No way to escape delimiter in column values Key: ORC-1031 URL: https://issues.apache.org/jira/browse/ORC-1031 Project: ORC Issue Type: Bug

[GitHub] [orc] guiyanakuang commented on pull request #941: ORC-1030: Fix some bugs that Java Tools recovery file command cannot find OrcFile.MAGIC accurately

2021-10-19 Thread GitBox
guiyanakuang commented on pull request #941: URL: https://github.com/apache/orc/pull/941#issuecomment-946825208 https://github.com/apache/orc/blob/bf32589444802022f530e9f26b7262feb9e2aa1f/java/tools/src/java/org/apache/orc/tools/FileDump.java#L575-L579 ```java public static final

[GitHub] [orc] guiyanakuang commented on pull request #941: ORC-1030: Fix some bugs that Java Tools recovery file command cannot find OrcFile.MAGIC accurately

2021-10-19 Thread GitBox
guiyanakuang commented on pull request #941: URL: https://github.com/apache/orc/pull/941#issuecomment-946774472 Travis CI caught a very rare exception, which I logged here first ``` java.time.format.DateTimeParseException: Text '2021-10-19T0700:01.683210-0700' could not be parsed at

[GitHub] [orc] guiyanakuang opened a new pull request #941: ORC-1030: Fix some bugs that Java Tools recovery file command cannot find OrcFileMAGIC accurately

2021-10-19 Thread GitBox
guiyanakuang opened a new pull request #941: URL: https://github.com/apache/orc/pull/941 1. The original code was not aware of the possibility of OrcFileMAGIC being separated 2. The indexOf method does not match correctly ### What changes were proposed in this pull

[jira] [Created] (ORC-1030) Java Tools Recover File command does not accurately find OrcFile.MAGIC

2021-10-19 Thread Yiqun Zhang (Jira)
Yiqun Zhang created ORC-1030: Summary: Java Tools Recover File command does not accurately find OrcFile.MAGIC Key: ORC-1030 URL: https://issues.apache.org/jira/browse/ORC-1030 Project: ORC

[GitHub] [orc] guiyanakuang opened a new pull request #940: ORC-1029: ServiceLoader is not thread-safe, avoid concurrent calls

2021-10-19 Thread GitBox
guiyanakuang opened a new pull request #940: URL: https://github.com/apache/orc/pull/940 ### What changes were proposed in this pull request? The previous code reuses LOADER to build DataMask, but the ServiceLoader class is not thread-safe and will cause an exception if

[jira] [Created] (ORC-1029) Could not load 'org.apache.orc.DataMask.Provider' when using orc encryption and spark executor with multi cores!

2021-10-19 Thread hgs (Jira)
hgs created ORC-1029: Summary: Could not load 'org.apache.orc.DataMask.Provider' when using orc encryption and spark executor with multi cores! Key: ORC-1029 URL: https://issues.apache.org/jira/browse/ORC-1029