You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@parquet.apache.org by "Timothy Miller (Jira)" <ji...@apache.org> on 2022/05/13 20:37:00 UTC

[jira] [Updated] (PARQUET-2147) Can't run ParquetMR tests in IDEs

     [ https://issues.apache.org/jira/browse/PARQUET-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Miller updated PARQUET-2147:
------------------------------------
    Summary: Can't run ParquetMR tests in IDEs  (was: Can't run ParquetMR test in IDEs)

> Can't run ParquetMR tests in IDEs
> ---------------------------------
>
>                 Key: PARQUET-2147
>                 URL: https://issues.apache.org/jira/browse/PARQUET-2147
>             Project: Parquet
>          Issue Type: Bug
>          Components: parquet-testing
>    Affects Versions: 1.10.2, 1.13.0, 1.11.2, 1.12.2
>         Environment: In my case, IntelliJ IDEA.
>            Reporter: Timothy Miller
>            Priority: Blocker
>
> ParquetMR contains a suite of self-tests. When one of those self-tests fails, it would be nice to be able to pull up the test in an IDE like IntelliJ. Then we can use the debugger and track down what the problem is. Unfortunately, this is impossible due to some unfortunate design choices.
> If I open a test source file in IntelliJ and tell the IDE to run it, the first errors I get is a bunch of errors in org.apache.parquet.VersionTest, which evidently cannot find a bunch of symbols. If I hack VersionTest to no longer depend on those symbols, the next thing that happens is this error:
> {code:java}
> /home/theosib/packages/PARQUET-2069/parquet-mr/parquet-column/src/main/java/org/apache/parquet/io/MessageColumnIO.java:43:46
> java: cannot find symbol
>   symbol:   class IncrementallyUpdatedFilterPredicateBuilder
>   location: package org.apache.parquet.filter2.recordlevel{code}
> Evidently, IncrementallyUpdatedFilterPredicateBuilder doesn't exist. Instead, it is auto-generated during the maven build process, but the code is stashed away somewhere where IntelliJ can't find it, and this is the end of the road.
> If we want more people to be able to contribute to ParquetMR, I think we should work towards making it easier to debug.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)