[GitHub] kkhatua removed a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position
kkhatua removed a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442611104 Thanks for making the change to `monospace'` A default monospace font on the Linux platform should address the issue of the missing `courier` font and we need not include any other special font. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] kkhatua commented on issue #1551: DRILL-6867: WebUI Query editor cursor position
kkhatua commented on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442611104 Thanks for making the change to `monospace'` A default monospace font on the Linux platform should address the issue of the missing `courier` font and we need not include any other special font. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
Re: Apache Drill: Test case failure storage-mongo/jdbc on ARM64
Hi! Regarding the first error, in case your machine is compatible with embedded mongoDb (check it), then try to update de.flapdoodle.embed.mongo lib version in Drill. Regarding the second one, you should install "libaio1" and "libaio-dev" libs on your OS: https://github.com/apache/drill/blob/master/.circleci/config.yml#L44 Do you want to run all tests on your machine? If no, just run: mvn clean install -DskipTests Kind regards Vitalii On Wed, Nov 28, 2018 at 9:40 PM hanu mapr wrote: > Hello Naresh, > > It looks like mongo is failing with following error. > java.lang.IllegalArgumentException: this version does not support 32Bit: > V3_4:Linux:B32 > at de.flapdoodle.embed.mongo.Paths.getBitSize(Paths.java:157) > ~[de.flapdoodle.embed.mongo-2.0.3.jar:na] > at de.flapdoodle.embed.mongo.Paths.getPath(Paths.java:97) > ~[de.flapdoodle.embed.mongo-2.0.3.jar:na] > > Can you check your linux version if it is compatible?. > > Thanks, > > On Wed, Nov 28, 2018 at 9:39 AM Naresh Bhat > wrote: > > > Hi, > > > > I am trying to compile Apache Drill master branch on ARM64 platform. > > > > But the following test cases are failing to run. Do you have any > > suggestions? > > > > Test case failure issue-1: storage-Mongo > > == > > > > linaro@debian:~/Apache-components-build/drill$ mvn -pl > > 'contrib/storage-mongo' clean install > > [INFO] Scanning for projects... > > [INFO] > > > > [INFO] Detecting the operating system and CPU architecture > > [INFO] > > > > [INFO] os.detected.name: linux > > [INFO] os.detected.arch: aarch_64 > > [INFO] os.detected.version: 4.16 > > [INFO] os.detected.version.major: 4 > > [INFO] os.detected.version.minor: 16 > > [INFO] os.detected.release: debian > > [INFO] os.detected.release.version: 9 > > [INFO] os.detected.release.like.debian: true > > [INFO] os.detected.classifier: linux-aarch_64 > > [INFO] > > [INFO] < org.apache.drill.contrib:drill-mongo-storage > > > > > [INFO] Building contrib/mongo-storage-plugin 1.15.0-SNAPSHOT > > [INFO] [ jar > > ]- > > Downloading from central: > > > > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom > > Downloaded from central: > > > > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom > > (16 kB at 25 kB/s) > > Downloading from central: > > > > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar > > Downloaded from central: > > > > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar > > (109 kB at 1.5 MB/s) > > Downloading from sonatype-nexus-snapshots: > > > > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from sonatype-nexus-snapshots: > > > > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from sonatype-nexus-snapshots: > > > > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from sonatype-nexus-snapshots: > > > > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from sonatype-nexus-snapshots: > > > > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml > > Downloading from mapr-drill-optiq-snapshots: > > > > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-logical/1.15.0-SNAPSHOT/maven-metadata.xml > >
Re: Apache Drill: Test case failure storage-mongo/jdbc on ARM64
Hello Naresh, It looks like mongo is failing with following error. java.lang.IllegalArgumentException: this version does not support 32Bit: V3_4:Linux:B32 at de.flapdoodle.embed.mongo.Paths.getBitSize(Paths.java:157) ~[de.flapdoodle.embed.mongo-2.0.3.jar:na] at de.flapdoodle.embed.mongo.Paths.getPath(Paths.java:97) ~[de.flapdoodle.embed.mongo-2.0.3.jar:na] Can you check your linux version if it is compatible?. Thanks, On Wed, Nov 28, 2018 at 9:39 AM Naresh Bhat wrote: > Hi, > > I am trying to compile Apache Drill master branch on ARM64 platform. > > But the following test cases are failing to run. Do you have any > suggestions? > > Test case failure issue-1: storage-Mongo > == > > linaro@debian:~/Apache-components-build/drill$ mvn -pl > 'contrib/storage-mongo' clean install > [INFO] Scanning for projects... > [INFO] > > [INFO] Detecting the operating system and CPU architecture > [INFO] > > [INFO] os.detected.name: linux > [INFO] os.detected.arch: aarch_64 > [INFO] os.detected.version: 4.16 > [INFO] os.detected.version.major: 4 > [INFO] os.detected.version.minor: 16 > [INFO] os.detected.release: debian > [INFO] os.detected.release.version: 9 > [INFO] os.detected.release.like.debian: true > [INFO] os.detected.classifier: linux-aarch_64 > [INFO] > [INFO] < org.apache.drill.contrib:drill-mongo-storage > > > [INFO] Building contrib/mongo-storage-plugin 1.15.0-SNAPSHOT > [INFO] [ jar > ]- > Downloading from central: > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom > Downloaded from central: > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom > (16 kB at 25 kB/s) > Downloading from central: > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar > Downloaded from central: > > https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar > (109 kB at 1.5 MB/s) > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-logical/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-logical/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/drill-rpc/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from mapr-drill-optiq-snapshots: > > http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/drill-rpc/1.15.0-SNAPSHOT/maven-metadata.xml > Downloading from sonatype-nexus-snapshots: > > https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/memory/drill-memory-base/1.15.0-SNAPSHOT/maven-metadata.xml >
[GitHub] kkhatua commented on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf…
kkhatua commented on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf… URL: https://github.com/apache/drill/pull/1504#issuecomment-442573143 Ignore my comment a few minutes ago. Got a wrong diff done. Thanks, @weijietong This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] kkhatua removed a comment on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf…
kkhatua removed a comment on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf… URL: https://github.com/apache/drill/pull/1504#issuecomment-442570977 @weijietong I noticed there are changes between the last unsquashed commit and the latest commit that you force-pushed. I'm assuming nothing changed code-wise, but I see you've introduced a new dependency: `antlr-runtime` and that the Guava imports (Google Common) is not shaded. For example, ``` import com.google.common.collect.Lists; import com.google.common.collect.Sets; `` should be changed to ``` import org.apache.drill.shaded.guava.com.google.common.collect.Lists; import org.apache.drill.shaded.guava.com.google.common.collect.Sets; ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] kkhatua commented on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf…
kkhatua commented on issue #1504: DRILL-6792: Find the right probe side fragment wrapper & fix DrillBuf… URL: https://github.com/apache/drill/pull/1504#issuecomment-442570977 @weijietong I noticed there are changes between the last unsquashed commit and the latest commit that you force-pushed. I'm assuming nothing changed code-wise, but I see you've introduced a new dependency: `antlr-runtime` and that the Guava imports (Google Common) is not shaded. For example, ``` import com.google.common.collect.Lists; import com.google.common.collect.Sets; `` should be changed to ``` import org.apache.drill.shaded.guava.com.google.common.collect.Lists; import org.apache.drill.shaded.guava.com.google.common.collect.Sets; ``` This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557#discussion_r237189306 ## File path: exec/java-exec/src/test/java/org/apache/drill/TestDropTable.java ## @@ -21,23 +21,28 @@ import org.apache.drill.categories.UnlikelyTest; import org.apache.drill.common.exceptions.UserException; import org.apache.hadoop.fs.Path; +import org.junit.BeforeClass; import org.junit.Test; import org.junit.Assert; import org.junit.experimental.categories.Category; @Category(SqlTest.class) public class TestDropTable extends PlanTestBase { - private static final String CREATE_SIMPLE_TABLE = "create table %s as select 1 from cp.`employee.json`"; - private static final String CREATE_SIMPLE_VIEW = "create view %s as select 1 from cp.`employee.json`"; - private static final String DROP_TABLE = "drop table %s"; - private static final String DROP_TABLE_IF_EXISTS = "drop table if exists %s"; - private static final String DROP_VIEW_IF_EXISTS = "drop view if exists %s"; - private static final String BACK_TICK = "`"; + private static final String CREATE_SIMPLE_TABLE = "create table `%s` as select 1 from cp.`employee.json`"; Review comment: What is changed in these rows except the row with `BACK_TICK`? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557#discussion_r237187041 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java ## @@ -751,4 +751,53 @@ public void selectFromViewCreatedOnCalcite1_4() throws Exception { .baselineValues("HeadQuarters") .go(); } + + @Test + public void testDropViewNameStartsWithSlash() throws Exception { +String viewName = "views/tmp_view"; +try { + test("CREATE VIEW `%s`.`%s` AS SELECT * FROM cp.`region.json`", DFS_TMP_SCHEMA, viewName); + testBuilder() + .sqlQuery("DROP VIEW `%s`.`%s`", DFS_TMP_SCHEMA, "/" + viewName) + .unOrdered() + .baselineColumns("ok", "summary") + .baselineValues(true, + String.format("View [%s] deleted successfully from schema [%s].", viewName, DFS_TMP_SCHEMA)) + .go(); +} finally { + test("DROP VIEW IF EXISTS `%s`.`%s`", DFS_TMP_SCHEMA, viewName); +} + } + + @Test + public void testViewIsCreatedWithinWorkspace() throws Exception { +String viewName = "views/tmp_view"; +try { + test("CREATE VIEW `%s`.`%s` AS SELECT * FROM cp.`region.json`", DFS_TMP_SCHEMA, "/" + viewName); + testBuilder() + .sqlQuery("SELECT region_id FROM `%s`.`%s` LIMIT 1", DFS_TMP_SCHEMA, viewName) + .unOrdered() + .baselineColumns("region_id") + .baselineValues(0L) + .go(); +} finally { + test("DROP VIEW IF EXISTS `%s`.`%s`", DFS_TMP_SCHEMA, viewName); +} + } + + @Test + public void testViewIsFoundWithinWorkspaceWhenNameStartsWithSlash() throws Exception { Review comment: I think `WithinWorkspace` can be ommited, since there is always some workspace used for tables. Even for default workspace it is still valid. Right? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557#discussion_r237191015 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestViewSupport.java ## @@ -751,4 +751,53 @@ public void selectFromViewCreatedOnCalcite1_4() throws Exception { .baselineValues("HeadQuarters") .go(); } + + @Test + public void testDropViewNameStartsWithSlash() throws Exception { +String viewName = "views/tmp_view"; +try { + test("CREATE VIEW `%s`.`%s` AS SELECT * FROM cp.`region.json`", DFS_TMP_SCHEMA, viewName); + testBuilder() + .sqlQuery("DROP VIEW `%s`.`%s`", DFS_TMP_SCHEMA, "/" + viewName) + .unOrdered() + .baselineColumns("ok", "summary") + .baselineValues(true, + String.format("View [%s] deleted successfully from schema [%s].", viewName, DFS_TMP_SCHEMA)) + .go(); +} finally { + test("DROP VIEW IF EXISTS `%s`.`%s`", DFS_TMP_SCHEMA, viewName); +} + } + + @Test + public void testViewIsCreatedWithinWorkspace() throws Exception { Review comment: Do we need similar test cases for tables? This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557#discussion_r237182591 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestCTTAS.java ## @@ -446,6 +446,23 @@ public void testJoinTemporaryWithPersistentTable() throws Exception { .go(); } + @Test + public void testCreateTemporaryTableWithAndWithoutLeadingSlashAreTheSame() throws Exception{ Review comment: `Create` can be omitted possibly This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
vdiravka commented on a change in pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557#discussion_r237181857 ## File path: exec/java-exec/src/test/java/org/apache/drill/exec/sql/TestCTTAS.java ## @@ -446,6 +446,23 @@ public void testJoinTemporaryWithPersistentTable() throws Exception { .go(); } + @Test + public void testCreateTemporaryTableWithAndWithoutLeadingSlashAreTheSame() throws Exception{ +String tablename = "tmp_table"; + +try { + test("CREATE TEMPORARY TABLE %s.%s AS SELECT * from cp.`region.json`", DFS_TMP_SCHEMA, tablename); Review comment: lead all identifiers to the same upper or below case. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
Apache Drill: Test case failure storage-mongo/jdbc on ARM64
Hi, I am trying to compile Apache Drill master branch on ARM64 platform. But the following test cases are failing to run. Do you have any suggestions? Test case failure issue-1: storage-Mongo == linaro@debian:~/Apache-components-build/drill$ mvn -pl 'contrib/storage-mongo' clean install [INFO] Scanning for projects... [INFO] [INFO] Detecting the operating system and CPU architecture [INFO] [INFO] os.detected.name: linux [INFO] os.detected.arch: aarch_64 [INFO] os.detected.version: 4.16 [INFO] os.detected.version.major: 4 [INFO] os.detected.version.minor: 16 [INFO] os.detected.release: debian [INFO] os.detected.release.version: 9 [INFO] os.detected.release.like.debian: true [INFO] os.detected.classifier: linux-aarch_64 [INFO] [INFO] < org.apache.drill.contrib:drill-mongo-storage > [INFO] Building contrib/mongo-storage-plugin 1.15.0-SNAPSHOT [INFO] [ jar ]- Downloading from central: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom Downloaded from central: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.pom (16 kB at 25 kB/s) Downloading from central: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar Downloaded from central: https://repo.maven.apache.org/maven2/pl/project13/maven/git-commit-id-plugin/2.2.5/git-commit-id-plugin-2.2.5.jar (109 kB at 1.5 MB/s) Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/drill-java-exec/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/exec-parent/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-root/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-protocol/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-common/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/drill-logical/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/drill-logical/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/exec/drill-rpc/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/exec/drill-rpc/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/memory/drill-memory-base/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/memory/drill-memory-base/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/apache/drill/memory/memory-parent/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from mapr-drill-optiq-snapshots: http://repository.mapr.com/nexus/content/repositories/drill-optiq/org/apache/drill/memory/memory-parent/1.15.0-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots:
[GitHub] KazydubB opened a new pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts…
KazydubB opened a new pull request #1557: DRILL-6863: Drop table is not working if path within workspace starts… URL: https://github.com/apache/drill/pull/1557 … with "/" - Made workspace to be honored when table/view name starts with "/" for DROP TABLE, DROP VIEW, CREATE VIEW and SELECT from view queries; - Made "/{name}" and "{name}" to be equivalent names (the leading "/" is removed) when creating temporary tables so that `SELECT ... FROM "/{name}" ...` and `SELECT ... FROM "{name}" ...` produce the same results and behave as regular tables in the context. This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[jira] [Created] (DRILL-6874) CTAS from json to parquet is not working on S3 storage
Denys Ordynskiy created DRILL-6874: -- Summary: CTAS from json to parquet is not working on S3 storage Key: DRILL-6874 URL: https://issues.apache.org/jira/browse/DRILL-6874 Project: Apache Drill Issue Type: Bug Affects Versions: 1.15.0 Reporter: Denys Ordynskiy Attachments: ctasjsontoparquet.zip, drillbit.log, drillbit_queries.json, s3src.json, sqlline.log Json file "s3src.json" was uploaded to the s3 storage. Query from Json works fine: select * from s3.tmp.`s3src.json`; | id | first_name | last_name | | 1 | first_name1 | last_name1 | | 2 | first_name2 | last_name2 | | 3 | first_name3 | last_name3 | | 4 | first_name4 | last_name4 | | 5 | first_name5 | last_name5 | 5 rows selected (2.803 seconds) CTAS from this json file returns successfully result: create table s3.tmp.`ctasjsontoparquet` as select * from s3.tmp.`s3src.json`; | Fragment | Number of records written | | 0_0 | 5 | 1 row selected (9.264 seconds) *Query from the created parquet table {color:#d04437}throws an error:{color}* select * from s3.tmp.`ctasjsontoparquet`; {code:java} Error: INTERNAL_ERROR ERROR: Error in parquet record reader. Message: Failure in setting up reader Parquet Metadata: ParquetMetaData{FileMetaData{schema: message root { optional int64 id; optional binary first_name (UTF8); optional binary last_name (UTF8); } , metadata: {drill-writer.version=2, drill.version=1.15.0-SNAPSHOT}}, blocks: [BlockMetaData{5, 360 [ColumnMetaData{UNCOMPRESSED [id] optional int64 id [BIT_PACKED, RLE, PLAIN], 4}, ColumnMetaData{UNCOMPRESSED [first_name] optional binary first_name (UTF8) [BIT_PACKED, RLE, PLAIN], 111}, ColumnMetaData{UNCOMPRESSED [last_name] optional binary last_name (UTF8) [BIT_PACKED, RLE, PLAIN], 241}]}]} Fragment 0:0 Please, refer to logs for more information. [Error Id: 885723e4-8385-4fb0-87dd-c08b0570db95 on maprhost:31010] (state=,code=0) {code} The same CTAS query works fine on MapRFS and FileSystem storages. Log files, json file and created parquet file from S3 are in the attachments. -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[GitHub] oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position
oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442509671 @vdiravka , @kkhatua 1) Ace editor requires monospace font. Here (http://web.mit.edu/jmorzins/www/fonts.html) I can find only two `common monospace fonts`: `courier` and `courier new`. Both of them missing in Ubuntu 18.10. 2) Firefox on Ubuntu with monospace font: ![default](https://user-images.githubusercontent.com/17238766/49165894-4a514a80-f343-11e8-919a-ef4e8519c005.png) P.S. I remove Ubuntu Mono (too small) and Consolas (missing in Ubuntu as well). This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position
oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442509671 @vdiravka , @kkhatua 1) Ace editor requires monospace font. Both 'courier' and 'courier new' missing in Ubuntu 18.10. 2) Firefox on Ubuntu with monospace font: ![default](https://user-images.githubusercontent.com/17238766/49165894-4a514a80-f343-11e8-919a-ef4e8519c005.png) P.S. I remove Ubuntu Mono (too small) and Consolas (missing in Ubuntu as well). This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position
oleg-zinovev edited a comment on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442509671 @vdiravka , @kkhatua 1) Ace editor requires monospace font. Both 'courier' and 'courier new' missing in Ubuntu 18.10. 2) Firefox on Ubuntu with monospace font: ![default](https://user-images.githubusercontent.com/17238766/49165894-4a514a80-f343-11e8-919a-ef4e8519c005.png) P.S. I remove Ubuntu Mono (was too small) and Consolas (missing in Ubuntu as well). This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] oleg-zinovev commented on issue #1551: DRILL-6867: WebUI Query editor cursor position
oleg-zinovev commented on issue #1551: DRILL-6867: WebUI Query editor cursor position URL: https://github.com/apache/drill/pull/1551#issuecomment-442509671 @vdiravka , @kkhatua 1) Ace editor requires monospace font. Both 'courier' and 'courier new' missing in Ubuntu 18.10. 2) Firefox on Ubuntu with monospace font: ![default](https://user-images.githubusercontent.com/17238766/49165894-4a514a80-f343-11e8-919a-ef4e8519c005.png) This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services
[GitHub] arina-ielchiieva opened a new pull request #1556: DRILL-6866: Upgrade to SqlLine 1.6.0
arina-ielchiieva opened a new pull request #1556: DRILL-6866: Upgrade to SqlLine 1.6.0 URL: https://github.com/apache/drill/pull/1556 1. Changed SqlLine version to 1.6.0. 2. Overridden new getVersion method in DrillSqlLineApplication. 3. Set maxColumnWidth to 100 to avoid issue described in [DRILL-6769](https://issues.apache.org/jira/browse/DRILL-6769). 4. Changed access modifier from package default to public for JDBC classes that implement external interfaces to avoid issues when calling methods from these classes using reflection. Jira - [DRILL-6866](https://issues.apache.org/jira/browse/DRILL-6866). This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services