Repository: drill Updated Branches: refs/heads/master d7eebec41 -> 32631bb97
DRILL-3479: Sqlline shows incorrect version of Drill Project: http://git-wip-us.apache.org/repos/asf/drill/repo Commit: http://git-wip-us.apache.org/repos/asf/drill/commit/32631bb9 Tree: http://git-wip-us.apache.org/repos/asf/drill/tree/32631bb9 Diff: http://git-wip-us.apache.org/repos/asf/drill/diff/32631bb9 Branch: refs/heads/master Commit: 32631bb979ab2a6c29ac65486b7ce0d83165d445 Parents: d7eebec Author: Parth Chandra <[email protected]> Authored: Wed Sep 23 16:47:44 2015 -0700 Committer: Parth Chandra <[email protected]> Committed: Tue Sep 29 10:58:03 2015 -0700 ---------------------------------------------------------------------- .../main/java/org/apache/drill/exec/util/Utilities.java | 10 ++++++++++ pom.xml | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/drill/blob/32631bb9/exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java ---------------------------------------------------------------------- diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java b/exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java index b0496bb..345af31 100644 --- a/exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java +++ b/exec/java-exec/src/main/java/org/apache/drill/exec/util/Utilities.java @@ -57,4 +57,14 @@ public class Utilities { .setTimeZone(timeZone) .build(); } + + /** + * Read the manifest file and get the Drill version number + * @return + */ + public static String getDrillVersion() { + String v = Utilities.class.getPackage().getImplementationVersion(); + return v; + } + } http://git-wip-us.apache.org/repos/asf/drill/blob/32631bb9/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 8b59e43..bc5af74 100644 --- a/pom.xml +++ b/pom.xml @@ -1221,7 +1221,7 @@ <dependency> <groupId>sqlline</groupId> <artifactId>sqlline</artifactId> - <version>1.1.9-drill-r6</version> + <version>1.1.9-drill-r7</version> </dependency> <dependency>
