You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by ja...@apache.org on 2013/09/11 04:04:44 UTC
[01/29] DRILL-221 Add license header to all files
Updated Branches:
refs/heads/master 611418dc5 -> 43d71f106
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q5.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q5.drql.ast b/sandbox/query-parser/testdata/q5.drql.ast
deleted file mode 100644
index 0fc4972..0000000
--- a/sandbox/query-parser/testdata/q5.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME m1) (N_NAME f2))) (N_ID (N_NAME COUNT)))) (N_ALIAS cnt) N_WITHIN_RECORD)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q6.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q6.drql b/sandbox/query-parser/testdata/q6.drql
deleted file mode 100644
index b3855a7..0000000
--- a/sandbox/query-parser/testdata/q6.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT f1, COUNT(r1.m2.f3) WITHIN RECORD AS cnt FROM [Table];
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q6.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q6.drql.ast b/sandbox/query-parser/testdata/q6.drql.ast
deleted file mode 100644
index 0628b52..0000000
--- a/sandbox/query-parser/testdata/q6.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME r1) (N_NAME m2) (N_NAME f3))) (N_ID (N_NAME COUNT)))) (N_ALIAS cnt) N_WITHIN_RECORD)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q7.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q7.drql b/sandbox/query-parser/testdata/q7.drql
deleted file mode 100644
index 6ff2d6f..0000000
--- a/sandbox/query-parser/testdata/q7.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT COUNT(r1.m2.f3) WITHIN r1.m2 AS cnt FROM [Table];
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q7.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q7.drql.ast b/sandbox/query-parser/testdata/q7.drql.ast
deleted file mode 100644
index cb5d896..0000000
--- a/sandbox/query-parser/testdata/q7.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME r1) (N_NAME m2) (N_NAME f3))) (N_ID (N_NAME COUNT)))) (N_ALIAS cnt) (N_WITHIN (N_ID (N_NAME r1) (N_NAME m2))))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q8.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q8.drql b/sandbox/query-parser/testdata/q8.drql
deleted file mode 100644
index d4c4e37..0000000
--- a/sandbox/query-parser/testdata/q8.drql
+++ /dev/null
@@ -1,3 +0,0 @@
-SELECT f1, SUM(f2)
- FROM [Table]
- GROUP BY f1;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q8.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q8.drql.ast b/sandbox/query-parser/testdata/q8.drql.ast
deleted file mode 100644
index b053242..0000000
--- a/sandbox/query-parser/testdata/q8.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f2))) (N_ID (N_NAME SUM)))))) (N_GROUPBY (N_NAME f1)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q9.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q9.drql b/sandbox/query-parser/testdata/q9.drql
deleted file mode 100644
index 81c041e..0000000
--- a/sandbox/query-parser/testdata/q9.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT f1, COUNT(f2) FROM [Table] GROUP BY f1, f3;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q9.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q9.drql.ast b/sandbox/query-parser/testdata/q9.drql.ast
deleted file mode 100644
index db708a5..0000000
--- a/sandbox/query-parser/testdata/q9.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f2))) (N_ID (N_NAME COUNT)))))) (N_GROUPBY (N_NAME f1) (N_NAME f3)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/query.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/query.drql b/sandbox/query-parser/testdata/query.drql
deleted file mode 100644
index bd6b02d..0000000
--- a/sandbox/query-parser/testdata/query.drql
+++ /dev/null
@@ -1 +0,0 @@
-select * from table1;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/web-frontend/drill.css
----------------------------------------------------------------------
diff --git a/sandbox/web-frontend/drill.css b/sandbox/web-frontend/drill.css
index b1da12f..1524581 100644
--- a/sandbox/web-frontend/drill.css
+++ b/sandbox/web-frontend/drill.css
@@ -1,3 +1,19 @@
+/*Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.*/
+
body {
padding-top: 60px;
padding-bottom: 40px;
@@ -79,4 +95,4 @@ footer {
margin: 4em 0 0 0;
padding: 20px;
text-align: justify;
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/web-frontend/drill.js
----------------------------------------------------------------------
diff --git a/sandbox/web-frontend/drill.js b/sandbox/web-frontend/drill.js
index bb6655f..598ac39 100644
--- a/sandbox/web-frontend/drill.js
+++ b/sandbox/web-frontend/drill.js
@@ -1,3 +1,19 @@
+//Licensed to the Apache Software Foundation (ASF) under one
+//or more contributor license agreements. See the NOTICE file
+//distributed with this work for additional information
+//regarding copyright ownership. The ASF licenses this file
+//to you under the Apache License, Version 2.0 (the
+//"License"); you may not use this file except in compliance
+//with the License. You may obtain a copy of the License at
+//
+//http://www.apache.org/licenses/LICENSE-2.0
+//
+//Unless required by applicable law or agreed to in writing, software
+//distributed under the License is distributed on an "AS IS" BASIS,
+//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+//See the License for the specific language governing permissions and
+//limitations under the License.
+
// Drill frontend settings
var MAX_PROJECTS = 100;
var MAX_DATASOURCES = 100;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlline
----------------------------------------------------------------------
diff --git a/sqlline b/sqlline
index 60b38fb..8cc9531 100755
--- a/sqlline
+++ b/sqlline
@@ -1,4 +1,18 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
# sqlline - Script to launch SQL shell
#
# Example:
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/DrillDriverVersion.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillDriverVersion.java b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillDriverVersion.java
index 1febcb9..e395515 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillDriverVersion.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillDriverVersion.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc;
import net.hydromatic.optiq.jdbc.DriverVersion;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/DrillHandler.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillHandler.java b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillHandler.java
index 7441696..51600ec 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillHandler.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillHandler.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.jdbc;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/DrillTable.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillTable.java b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillTable.java
index da20756..8c26a65 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/DrillTable.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/DrillTable.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc;
import java.lang.reflect.Type;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/Driver.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/Driver.java b/sqlparser/src/main/java/org/apache/drill/jdbc/Driver.java
index 425bcae..d7878c9 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/Driver.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/Driver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc;
import net.hydromatic.linq4j.function.Function0;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/RefDriver.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/RefDriver.java b/sqlparser/src/main/java/org/apache/drill/jdbc/RefDriver.java
index e2e0f79..85c7f5d 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/RefDriver.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/RefDriver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc;
import net.hydromatic.linq4j.function.Function0;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/jdbc/StorageEngines.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/jdbc/StorageEngines.java b/sqlparser/src/main/java/org/apache/drill/jdbc/StorageEngines.java
index 9bc83e7..d037508 100644
--- a/sqlparser/src/main/java/org/apache/drill/jdbc/StorageEngines.java
+++ b/sqlparser/src/main/java/org/apache/drill/jdbc/StorageEngines.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.jdbc;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRel.java
index 6670933..668ed33 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.util.BitSet;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRule.java
index 3267917..003ff61 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillAggregateRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.AggregateRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRel.java
index cd6b1c9..e01d645 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import com.fasterxml.jackson.databind.node.ObjectNode;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRule.java
index 4fdbed2..eff0715 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillFilterRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.FilterRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillImplementor.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillImplementor.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillImplementor.java
index 0a9e28c..6efe60b 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillImplementor.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillImplementor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRel.java
index 2659063..acdc5c7 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRule.java
index ad858e2..3c5e072 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillJoinRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.InvalidRelException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillOptiq.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillOptiq.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillOptiq.java
index e687435..b01aa7d 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillOptiq.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillOptiq.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import net.hydromatic.linq4j.Ord;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillPrepareImpl.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillPrepareImpl.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillPrepareImpl.java
index f4c508f..363c064 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillPrepareImpl.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillPrepareImpl.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import net.hydromatic.optiq.prepare.OptiqPrepareImpl;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRel.java
index 1c0b00b..fabfb77 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import com.fasterxml.jackson.databind.node.ArrayNode;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRule.java
index b294ad0..36b272f 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillProjectRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.ProjectRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillRel.java
index aa6d3e0..4c9ece9 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.RelNode;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillScan.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillScan.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillScan.java
index 6717ca4..a165fea 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillScan.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillScan.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.optiq;
import org.apache.drill.jdbc.DrillTable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRel.java
index 64995c5..b2e9b50 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRule.java
index 0d9852a..d5eac2e 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillSortRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.SortRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRel.java
index a46816b..90cda2e 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import com.fasterxml.jackson.databind.node.ArrayNode;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRule.java
index f65b276..0d70443 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillUnionRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.UnionRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRel.java
index b8a723a..5bab4f8 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.ValuesRelBase;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRule.java
index 280dc7f..b5e3eb2 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/DrillValuesRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import org.eigenbase.rel.ValuesRel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrill.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrill.java b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrill.java
index a55429f..6518f42 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrill.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrill.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillFullEngine.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillFullEngine.java b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillFullEngine.java
index a71ab8c..318f982 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillFullEngine.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillFullEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRel.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRel.java b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRel.java
index 2f9cd9b..15ca261 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRel.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import java.lang.reflect.Method;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRule.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRule.java b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRule.java
index 2617749..f35d69d 100644
--- a/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRule.java
+++ b/sqlparser/src/main/java/org/apache/drill/optiq/EnumerableDrillRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.optiq;
import net.hydromatic.optiq.rules.java.EnumerableConvention;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchListener.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchListener.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchListener.java
index d3d7ee5..566b502 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchListener.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchListener.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.concurrent.ArrayBlockingQueue;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchLoaderMap.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchLoaderMap.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchLoaderMap.java
index 2df8f3e..d444348 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchLoaderMap.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/BatchLoaderMap.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillFullImpl.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillFullImpl.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillFullImpl.java
index a243d11..f9f3f33 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillFullImpl.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillFullImpl.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillMutableSchema.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillMutableSchema.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillMutableSchema.java
index b33363f..dbef38e 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillMutableSchema.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/DrillMutableSchema.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/FileSystemSchema.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/FileSystemSchema.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/FileSystemSchema.java
index f506ebd..1650aaf 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/FileSystemSchema.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/FileSystemSchema.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/JsonHelper.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/JsonHelper.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/JsonHelper.java
index 8390795..28868f7 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/JsonHelper.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/JsonHelper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/full/ResultEnumerator.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/full/ResultEnumerator.java b/sqlparser/src/main/java/org/apache/drill/sql/client/full/ResultEnumerator.java
index c6251e9..0222254 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/full/ResultEnumerator.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/full/ResultEnumerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.full;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/main/java/org/apache/drill/sql/client/ref/DrillRefImpl.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/main/java/org/apache/drill/sql/client/ref/DrillRefImpl.java b/sqlparser/src/main/java/org/apache/drill/sql/client/ref/DrillRefImpl.java
index a4256a1..0cacfc9 100644
--- a/sqlparser/src/main/java/org/apache/drill/sql/client/ref/DrillRefImpl.java
+++ b/sqlparser/src/main/java/org/apache/drill/sql/client/ref/DrillRefImpl.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.sql.client.ref;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/test/java/org/apache/drill/jdbc/test/FullEngineTest.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/test/java/org/apache/drill/jdbc/test/FullEngineTest.java b/sqlparser/src/test/java/org/apache/drill/jdbc/test/FullEngineTest.java
index a1a6cf2..45d1ff3 100644
--- a/sqlparser/src/test/java/org/apache/drill/jdbc/test/FullEngineTest.java
+++ b/sqlparser/src/test/java/org/apache/drill/jdbc/test/FullEngineTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.jdbc.test;
import org.junit.Ignore;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcAssert.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcAssert.java b/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcAssert.java
index 17b267e..e78d5c7 100644
--- a/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcAssert.java
+++ b/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcAssert.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc.test;
import java.sql.Connection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcTest.java
----------------------------------------------------------------------
diff --git a/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcTest.java b/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcTest.java
index 37e81b7..36b024c 100644
--- a/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcTest.java
+++ b/sqlparser/src/test/java/org/apache/drill/jdbc/test/JdbcTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.jdbc.test;
import java.io.IOException;
[18/29] git commit: DRILL-226: exclude dependencies with lgpl license
Posted by ja...@apache.org.
DRILL-226: exclude dependencies with lgpl license
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/78f6e583
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/78f6e583
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/78f6e583
Branch: refs/heads/master
Commit: 78f6e583fdabf13835cc7f7b5b9c1f64fc7d6027
Parents: a1e20fd
Author: Steven Phillips <sp...@maprtech.com>
Authored: Mon Sep 9 22:06:09 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 14:31:50 2013 -0700
----------------------------------------------------------------------
common/pom.xml | 6 ++++++
exec/java-exec/pom.xml | 1 -
pom.xml | 27 +++++++++++++++++++++++++++
sqlparser/pom.xml | 1 -
4 files changed, 33 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/78f6e583/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index cd973e2..4c4a2fc 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -55,6 +55,12 @@
<groupId>org.hibernate</groupId>
<artifactId>hibernate-validator</artifactId>
<version>4.3.1.Final</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jboss.logging</groupId>
+ <artifactId>jboss-logging</artifactId>
+ </exclusion>
+ </exclusions>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/78f6e583/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/pom.xml b/exec/java-exec/pom.xml
index 2c25963..a0fb70a 100644
--- a/exec/java-exec/pom.xml
+++ b/exec/java-exec/pom.xml
@@ -50,7 +50,6 @@
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>optiq</artifactId>
- <version>0.4.10</version>
</dependency>
<dependency>
<groupId>org.freemarker</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/78f6e583/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index de7294a..3fc2ee1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -398,6 +398,33 @@
<artifactId>core</artifactId>
<groupId>org.eclipse.jdt</groupId>
</exclusion>
+ <exclusion>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-core-asl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-mapper-asl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-xc</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.codehaus.jackson</groupId>
+ <artifactId>jackson-jaxrs</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>net.hydromatic</groupId>
+ <artifactId>optiq</artifactId>
+ <version>0.4.10</version>
+ <exclusions>
+ <exclusion>
+ <groupId>org.jgrapht</groupId>
+ <artifactId>jgrapht-jdk1.5</artifactId>
+ </exclusion>
</exclusions>
</dependency>
</dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/78f6e583/sqlparser/pom.xml
----------------------------------------------------------------------
diff --git a/sqlparser/pom.xml b/sqlparser/pom.xml
index 8260df2..831d9fb 100644
--- a/sqlparser/pom.xml
+++ b/sqlparser/pom.xml
@@ -15,7 +15,6 @@
<dependency>
<groupId>net.hydromatic</groupId>
<artifactId>optiq</artifactId>
- <version>0.4.10</version>
</dependency>
<dependency>
<groupId>org.apache.drill</groupId>
[26/29] DRILL-221,
part 3. More license updates. Automatically run Rat plugin with
appropriate excludes. Move Synth-log to sandbox until it is part of main mvn
build to avoid weird RAT problems.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
deleted file mode 100644
index b983eb2..0000000
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
+++ /dev/null
@@ -1,97 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.base.Function;
-import com.google.common.collect.*;
-import org.apache.commons.math3.distribution.NormalDistribution;
-import org.apache.mahout.math.stats.LogLikelihood;
-import org.junit.Test;
-
-import java.util.List;
-
-import static org.junit.Assert.assertEquals;
-import static org.junit.Assert.assertTrue;
-
-public class TermGeneratorTest {
-
- private static final WordGenerator WORDS = new WordGenerator("word-frequency-seed", "other-words");
-
- @Test
- public void generateTerms() {
- TermGenerator x = new TermGenerator(WORDS, 1, 0.8);
- final Multiset<String> counts = HashMultiset.create();
- for (int i = 0; i < 10000; i++) {
- counts.add(x.sample());
- }
-
- assertEquals(10000, counts.size());
- assertTrue("Should have some common words", counts.elementSet().size() < 10000);
- List<Integer> k = Lists.newArrayList(Iterables.transform(counts.elementSet(), new Function<String, Integer>() {
- public Integer apply(String s) {
- return counts.count(s);
- }
- }));
-// System.out.printf("%s\n", Ordering.natural().reverse().sortedCopy(k).subList(0, 30));
-// System.out.printf("%s\n", Iterables.transform(Iterables.filter(counts.elementSet(), new Predicate<String>() {
-// public boolean apply(String s) {
-// return counts.count(s) > 100;
-// }
-// }), new Function<String, String>() {
-// public String apply(String s) {
-// return s + ":" + counts.count(s);
-// }
-// }));
- assertEquals(1, Ordering.natural().leastOf(k, 1).get(0).intValue());
- assertTrue(Ordering.natural().greatestOf(k, 1).get(0) > 300);
- assertTrue(counts.count("the") > 300);
- }
-
- @Test
- public void distinctVocabularies() {
- TermGenerator x1 = new TermGenerator(WORDS, 1, 0.8);
- final Multiset<String> k1 = HashMultiset.create();
- for (int i = 0; i < 50000; i++) {
- k1.add(x1.sample());
- }
-
- TermGenerator x2 = new TermGenerator(WORDS, 1, 0.8);
- final Multiset<String> k2 = HashMultiset.create();
- for (int i = 0; i < 50000; i++) {
- k2.add(x2.sample());
- }
-
- final NormalDistribution normal = new NormalDistribution();
- List<Double> scores = Ordering.natural().sortedCopy(Iterables.transform(k1.elementSet(),
- new Function<String, Double>() {
- public Double apply(String s) {
- return normal.cumulativeProbability(LogLikelihood.rootLogLikelihoodRatio(k1.count(s), 50000 - k1.count(s), k2.count(s), 50000 - k2.count(s)));
- }
- }));
- int n = scores.size();
-// System.out.printf("%.5f, %.5f, %.5f, %.5f, %.5f, %.5f, %.5f", scores.get(0), scores.get((int) (0.05*n)), scores.get(n / 4), scores.get(n / 2), scores.get(3 * n / 4), scores.get((int) (0.95 * n)), scores.get(n - 1));
- int i = 0;
- for (Double score : scores) {
- if (i % 10 == 0) {
- System.out.printf("%.6f\t%.6f\n", (double) i / n, score);
- }
-
- i++;
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
deleted file mode 100644
index 0bfdf06..0000000
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.junit.Test;
-
-import static org.junit.Assert.assertFalse;
-import static org.junit.Assert.assertTrue;
-
-public class WordGeneratorTest {
- @Test
- public void checkRealWords() {
- WordGenerator words = new WordGenerator("word-frequency-seed", "other-words");
- for (int i = 0; i < 20000; i++) {
- assertFalse(words.getString(i).matches("-[0-9]+"));
- }
-
- for (int i = 0; i < 1000; i++) {
- String w = words.getString(i + 200000);
- assertTrue(w.matches(".*-[0-9]+"));
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index b855e90..972e202 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -21,7 +21,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<groupId>org.apache.drill</groupId>
@@ -72,6 +72,20 @@
<build>
<plugins>
<plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <excludes>
+ <exclude>**/conffiles</exclude>
+ <exclude>**/control</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/hadoop-excludes.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+
+ <plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/distribution/src/assemble/bin.xml
----------------------------------------------------------------------
diff --git a/distribution/src/assemble/bin.xml b/distribution/src/assemble/bin.xml
index fe76c67..45fd1cc 100644
--- a/distribution/src/assemble/bin.xml
+++ b/distribution/src/assemble/bin.xml
@@ -1,3 +1,20 @@
+<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<assembly
xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.2"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/distribution/src/deb/control/conffiles
----------------------------------------------------------------------
diff --git a/distribution/src/deb/control/conffiles b/distribution/src/deb/control/conffiles
index a9d1fda..1a297aa 100644
--- a/distribution/src/deb/control/conffiles
+++ b/distribution/src/deb/control/conffiles
@@ -1,3 +1,18 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
/etc/drill/conf/drill-override.conf
/etc/drill/conf/logback.xml
-/etc/drill/conf/drill-env.sh
\ No newline at end of file
+/etc/drill/conf/drill-env.sh
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/distribution/src/resources/logback.xml
----------------------------------------------------------------------
diff --git a/distribution/src/resources/logback.xml b/distribution/src/resources/logback.xml
index feb75b3..3ee676b 100644
--- a/distribution/src/resources/logback.xml
+++ b/distribution/src/resources/logback.xml
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<configuration>
<appender name="SOCKET"
class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/bufferl/pom.xml
----------------------------------------------------------------------
diff --git a/exec/bufferl/pom.xml b/exec/bufferl/pom.xml
index d52cae9..610a723 100644
--- a/exec/bufferl/pom.xml
+++ b/exec/bufferl/pom.xml
@@ -16,7 +16,7 @@
<parent>
<groupId>org.apache.drill.exec</groupId>
<artifactId>exec-parent</artifactId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<groupId>org.apache.drill.exec</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/pom.xml b/exec/java-exec/pom.xml
index 1c5af4b..d912ca9 100644
--- a/exec/java-exec/pom.xml
+++ b/exec/java-exec/pom.xml
@@ -22,7 +22,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>java-exec</artifactId>
<name>exec/Java Execution Engine</name>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/codegen/config.fmpp
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/config.fmpp b/exec/java-exec/src/main/codegen/config.fmpp
index ea27863..cd2b2cc 100644
--- a/exec/java-exec/src/main/codegen/config.fmpp
+++ b/exec/java-exec/src/main/codegen/config.fmpp
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http:# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
data: {
vv: tdd(../data/ValueVectorTypes.tdd),
compare: tdd(../data/CompareTypes.tdd),
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/codegen/data/Casts.tdd
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/data/Casts.tdd b/exec/java-exec/src/main/codegen/data/Casts.tdd
index c6ee258..760b0f9 100644
--- a/exec/java-exec/src/main/codegen/data/Casts.tdd
+++ b/exec/java-exec/src/main/codegen/data/Casts.tdd
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http:# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
{
types: [
{from: "Int", to: "BigInt"},
@@ -14,4 +30,4 @@
{to: "BigInt", from: "Float8" , explicit: "long"}
]
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/codegen/data/CompareTypes.tdd
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/data/CompareTypes.tdd b/exec/java-exec/src/main/codegen/data/CompareTypes.tdd
index 9c26a3f..f384d52 100644
--- a/exec/java-exec/src/main/codegen/data/CompareTypes.tdd
+++ b/exec/java-exec/src/main/codegen/data/CompareTypes.tdd
@@ -1,6 +1,21 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http:# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
{
types: [
{comparables: ["Float4", "Float8", "Int", "BigInt", "NullableFloat4", "NullableFloat8", "NullableInt", "NullableBigInt"], mode: "fixed"},
{comparables: ["VarChar", "VarBinary", "NullableVarChar", "NullableVarBinary"], mode: "var"}
]
-}
\ No newline at end of file
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/codegen/data/ValueVectorTypes.tdd
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/data/ValueVectorTypes.tdd b/exec/java-exec/src/main/codegen/data/ValueVectorTypes.tdd
index d201671..88a5974 100644
--- a/exec/java-exec/src/main/codegen/data/ValueVectorTypes.tdd
+++ b/exec/java-exec/src/main/codegen/data/ValueVectorTypes.tdd
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http:# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
{
modes: [
{name: "Optional", prefix: "Nullable"},
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/codegen/includes/vv_imports.ftl
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/includes/vv_imports.ftl b/exec/java-exec/src/main/codegen/includes/vv_imports.ftl
index 2029280..3e5a156 100644
--- a/exec/java-exec/src/main/codegen/includes/vv_imports.ftl
+++ b/exec/java-exec/src/main/codegen/includes/vv_imports.ftl
@@ -1,3 +1,14 @@
+<#-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
+
import static com.google.common.base.Preconditions.checkArgument;
import static com.google.common.base.Preconditions.checkState;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/resources/logback.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/resources/logback.xml b/exec/java-exec/src/main/resources/logback.xml
index feb75b3..35f0260 100644
--- a/exec/java-exec/src/main/resources/logback.xml
+++ b/exec/java-exec/src/main/resources/logback.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration>
<appender name="SOCKET"
class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/main/sh/runbit
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/sh/runbit b/exec/java-exec/src/main/sh/runbit
index 4e1b599..4c4aa21 100755
--- a/exec/java-exec/src/main/sh/runbit
+++ b/exec/java-exec/src/main/sh/runbit
@@ -1,5 +1,19 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
if [ -z $JAVA_HOME ]
then
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/resources/logback.xml b/exec/java-exec/src/test/resources/logback.xml
index 206a469..dd32405 100644
--- a/exec/java-exec/src/test/resources/logback.xml
+++ b/exec/java-exec/src/test/resources/logback.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration>
<appender name="SOCKET"
class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
@@ -25,4 +41,4 @@
<appender-ref ref="STDOUT" />
</root>
-</configuration>
\ No newline at end of file
+</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/test/sh/logback.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/sh/logback.xml b/exec/java-exec/src/test/sh/logback.xml
index 6f2928a..ec7ea44 100644
--- a/exec/java-exec/src/test/sh/logback.xml
+++ b/exec/java-exec/src/test/sh/logback.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration>
<appender name="SOCKET"
class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/java-exec/src/test/sh/runbit
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/sh/runbit b/exec/java-exec/src/test/sh/runbit
index 8a54006..7e4e73b 100755
--- a/exec/java-exec/src/test/sh/runbit
+++ b/exec/java-exec/src/test/sh/runbit
@@ -1,5 +1,20 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
PROJECT_ROOT=../../../
mvn dependency:build-classpath -f=$PROJECT_ROOT/pom.xml -Dmdep.outputFile=target/sh/cp.txt
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/pom.xml b/exec/pom.xml
index f0601dc..3859fb0 100644
--- a/exec/pom.xml
+++ b/exec/pom.xml
@@ -20,7 +20,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<groupId>org.apache.drill.exec</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/ref/pom.xml
----------------------------------------------------------------------
diff --git a/exec/ref/pom.xml b/exec/ref/pom.xml
index c7f74e0..1a4c809 100644
--- a/exec/ref/pom.xml
+++ b/exec/ref/pom.xml
@@ -22,7 +22,7 @@
<parent>
<artifactId>exec-parent</artifactId>
<groupId>org.apache.drill.exec</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>ref</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/ref/src/main/resources/logback-test.xml
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/resources/logback-test.xml b/exec/ref/src/main/resources/logback-test.xml
index 9a53c12..3d970a1 100644
--- a/exec/ref/src/main/resources/logback-test.xml
+++ b/exec/ref/src/main/resources/logback-test.xml
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<configuration>
<appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
@@ -30,4 +40,4 @@
</root>
-</configuration>
\ No newline at end of file
+</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/exec/ref/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/resources/logback.xml b/exec/ref/src/test/resources/logback.xml
index 10547b2..39bb0c8 100644
--- a/exec/ref/src/test/resources/logback.xml
+++ b/exec/ref/src/test/resources/logback.xml
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<configuration>
<appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
@@ -43,4 +53,4 @@
<appender-ref ref="FILE" />
</root>
-</configuration>
\ No newline at end of file
+</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 30bffd0..e055bbe 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,20 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -27,7 +21,7 @@
<groupId>org.apache.drill</groupId>
<artifactId>drill-root</artifactId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Apache Drill Root POM</name>
@@ -96,6 +90,34 @@
<build>
<plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>rat-checks</id>
+ <phase>compile</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+
+ <excludeSubprojects>false</excludeSubprojects>
+ <excludes>
+ <exclude>**/*.md</exclude>
+ <exclude>sandbox/**</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/drill-*.conf</exclude>
+ <exclude>**/.buildpath</exclude>
+ <exclude>**/*.proto</exclude>
+ <exclude>**/*.fmpp</exclude>
+ <exclude>**/*.tdd</exclude>
+
+ </excludes>
+ </configuration>
+ </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -183,6 +205,11 @@
<plugins>
<plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.10</version>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
@@ -215,15 +242,6 @@
</configuration>
</plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.10</version>
- <configuration>
- <property>rat.excludeSubprojects</property>
- </configuration>
- </plugin>
-
<!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/README.md
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/README.md b/sandbox/synth-log/README.md
new file mode 100644
index 0000000..b4efc63
--- /dev/null
+++ b/sandbox/synth-log/README.md
@@ -0,0 +1,55 @@
+log-synth
+=========
+
+The basic idea here is to have a random log generator build fairly realistic log files for analysis. The analyses specified here are fairly typical use cases for trying to figure out where the load on a web-site is coming from.
+
+How to Run It
+============
+
+Install Java 7, maven and get this software using git.
+
+On a mac, this can help get the right version of Java
+
+ export JAVA_HOME=$(/usr/libexec/java_home)
+
+Then do this to build a jar file with all dependencies included
+
+ mvn package
+
+Then use this to write one million log lines into the file "log" and to write the associated user database into the file "users".
+
+ java -cp target/log-synth-0.1-SNAPSHOT-jar-with-dependencies.jar org.apache.drill.synth.Main 1M log users
+
+This program will produce a line of output on the standard output for each 10,000 lines of log produced. Each line will contain the number of log lines produced so far and the number of unique users in the user profile database.
+
+
+The Data Source
+==============
+The data source here is a set of heavily biased random numbers to generate traffic sources, response times and queries. In order to give a realistic long-tail experience the data are generated using special random number generators available in the Mahout library.
+
+There are three basic entities involved in the random process that generates these logs that are IP addresses, users and queries. Users have a basic traffic rate and a variable number of users sit behind each IP address. Queries are composed of words which are generated somewhat differently by each user. The response time for each query is determined based on the terms in the queries with a very few terms causing much longer queries than others. Each log line contains an IP address, a user cookie, a query and a response time.
+
+Logs of various sizes can be generated using the generator tools.
+
+The Queries
+==============
+The general goal of the queries is to find out what and/or who is causing long query times and where lots of traffic is coming from.
+
+The questions we would like to answer include:
+
+* What are the top IP addresses by request count?
+* What are the top IP addresses by unique user?
+* What are the most common search terms?
+* What are the most common search terms in the slowest 5% of the queries?
+* What is the daily number of searches, (approximate) number of unique users, (approximate) number of unique IP addresses and distribution of response times (average, min, max, 25, 50 and 75%-iles).
+
+Methods
+========
+The general process for generating log lines is to select a user, possibly one we have not seen before. If the user is new, then we need to select an IP address for the user. Otherwise, we remember the IP address for each user.
+
+Queries have an overall frequency distribution that is long-tailed, but each user has a variation on that distribution. In order to model this, we sample each user's queries from a per-user Pittman-Yor process. In order to make users have similar query term distributions, each user's query term distribution is initialized from a Pittman-Yor process that has already been sampled a number of times.
+
+We also need to maintain an average response time per term. The response time for each query is exponentially distributed with a mean equal to the sum of the average response times for the terms. Response times for words are sampled either from an exponential distribution, from a log-gamma distribution or from a gamma distribution with a moderately low shape parameter so that we can have interestingly long tails for response time.
+
+Users are assigned to IP addresses using a Pittman-Yor process with a discount of 0.9. This gives long-tailed distribution to the number of users per IP address. This results in 90% of all IP addresses having only a single user.
+
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/pom.xml b/sandbox/synth-log/pom.xml
new file mode 100644
index 0000000..b46d869
--- /dev/null
+++ b/sandbox/synth-log/pom.xml
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>log-synth</groupId>
+ <artifactId>log-synth</artifactId>
+ <version>0.1-SNAPSHOT</version>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.mahout</groupId>
+ <artifactId>mahout-math</artifactId>
+ <version>0.8-SNAPSHOT</version>
+ </dependency>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.8.2</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-api</artifactId>
+ <version>1.6.6</version>
+ </dependency>
+ <dependency>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ <version>1.6.6</version>
+ <scope>runtime</scope>
+ </dependency>
+ </dependencies>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <version>2.4</version>
+ <configuration>
+ <descriptorRefs>
+ <descriptorRef>jar-with-dependencies</descriptorRef>
+ </descriptorRefs>
+ </configuration>
+ <executions>
+ <execution>
+ <id>make-assembly</id>
+ <phase>package</phase>
+ <!-- bind to the packaging phase -->
+ <goals>
+ <goal>single</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <verbose>true</verbose>
+ <compilerVersion>1.7</compilerVersion>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
new file mode 100644
index 0000000..54b671b
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
@@ -0,0 +1,118 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import com.google.common.base.Preconditions;
+import org.apache.mahout.common.RandomUtils;
+import org.apache.mahout.math.list.DoubleArrayList;
+import org.apache.mahout.math.random.Sampler;
+
+import java.util.Random;
+
+/**
+ *
+ * Generates samples from a generalized Chinese restaurant process (or Pittman-Yor process).
+ *
+ * The number of values drawn exactly once will asymptotically be equal to the discount parameter
+ * as the total number of draws T increases without bound. The number of unique values sampled will
+ * increase as O(alpha * log T) if discount = 0 or O(alpha * T^discount) for discount > 0.
+ */
+public final class ChineseRestaurant implements Sampler<Integer> {
+ private final double alpha;
+ private double weight = 0;
+ private double discount = 0;
+ private final DoubleArrayList weights = new DoubleArrayList();
+ private final Random rand = RandomUtils.getRandom();
+
+ /**
+ * Constructs a Dirichlet process sampler. This is done by setting discount = 0.
+ * @param alpha The strength parameter for the Dirichlet process.
+ */
+ public ChineseRestaurant(double alpha) {
+ this(alpha, 0);
+ }
+
+ /**
+ * Constructs a Pitman-Yor sampler.
+ *
+ * @param alpha The strength parameter that drives the number of unique values as a function of draws.
+ * @param discount The discount parameter that drives the percentage of values that occur once in a large sample.
+ */
+ public ChineseRestaurant(double alpha, double discount) {
+ Preconditions.checkArgument(alpha > 0);
+ Preconditions.checkArgument(discount >= 0 && discount <= 1);
+ this.alpha = alpha;
+ this.discount = discount;
+ }
+
+ public Integer sample() {
+ double u = rand.nextDouble() * (alpha + weight);
+ for (int j = 0; j < weights.size(); j++) {
+ // select existing options with probability (w_j - d) / (alpha + w)
+ if (u < weights.get(j) - discount) {
+ weights.set(j, weights.get(j) + 1);
+ weight++;
+ return j;
+ } else {
+ u -= weights.get(j) - discount;
+ }
+ }
+
+ // if no existing item selected, pick new item with probability (alpha - d*t) / (alpha + w)
+ // where t is number of pre-existing cases
+ weights.add(1);
+ weight++;
+ return weights.size() - 1;
+ }
+
+ /**
+ * @return the number of unique values that have been returned.
+ */
+ public int size() {
+ return weights.size();
+ }
+
+ /**
+ * @return the number draws so far.
+ */
+ public int count() {
+ return (int) weight;
+ }
+
+ /**
+ * @param j Which value to test.
+ * @return The number of times that j has been returned so far.
+ */
+ public int count(int j) {
+ Preconditions.checkArgument(j >= 0);
+
+ if (j < weights.size()) {
+ return (int) weights.get(j);
+ } else {
+ return 0;
+ }
+ }
+
+ public void setCount(int term, double count) {
+ while (weights.size() <= term) {
+ weights.add(0);
+ }
+ weight += (count - weights.get(term));
+ weights.set(term, count);
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
new file mode 100644
index 0000000..a030501
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
@@ -0,0 +1,74 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import org.apache.mahout.math.random.Sampler;
+
+import java.net.Inet4Address;
+import java.net.InetAddress;
+import java.net.UnknownHostException;
+import java.util.Random;
+
+/**
+ * Generates kind of realistic log lines consisting of a user id (a cookie), an IP address and a query.
+ */
+public class LogGenerator implements Sampler<LogLine> {
+ private LongTail<InetAddress> ipGenerator = new LongTail<InetAddress>(1, 0.5) {
+ Random gen = new Random();
+
+ @Override
+ protected InetAddress createThing() {
+ int address = gen.nextInt();
+ try {
+ return Inet4Address.getByAddress(new byte[]{
+ (byte) (address >>> 24),
+ (byte) (0xff & (address >>> 16)),
+ (byte) (0xff & (address >>> 8)),
+ (byte) (0xff & (address))
+ });
+ } catch (UnknownHostException e) {
+ throw new RuntimeException("Can't happen with numeric IP address", e);
+ }
+ }
+ };
+
+ private WordGenerator words = new WordGenerator("word-frequency-seed", "other-words");
+ private TermGenerator terms = new TermGenerator(words, 1, 0.8);
+ private TermGenerator geo = new TermGenerator(new WordGenerator(null, "geo-codes"), 10, 0
+ );
+
+ private LongTail<User> userGenerator = new LongTail<User>(50000, 0) {
+ @Override
+ protected User createThing() {
+ return new User(ipGenerator.sample(), geo, terms);
+ }
+ };
+
+ public Iterable<User> getUsers() {
+ return userGenerator.getThings();
+ }
+
+ public LogLine sample() {
+ // pick a user
+ return new LogLine(userGenerator.sample());
+ }
+
+ public int getUserCount() {
+ return userGenerator.getThings().size();
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
new file mode 100644
index 0000000..d15b53d
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
@@ -0,0 +1,54 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import java.net.InetAddress;
+import java.util.Formatter;
+import java.util.List;
+
+/**
+ * A log line contains a user id, an IP address and a query.
+ */
+public class LogLine {
+ private InetAddress ip;
+ private long cookie;
+ private List<String> query;
+
+ public LogLine(InetAddress ip, long cookie, List<String> query) {
+ this.cookie = cookie;
+ this.ip = ip;
+ this.query = query;
+ }
+
+ public LogLine(User user) {
+ this(user.getAddress(), user.getCookie(), user.getQuery());
+ }
+
+ @Override
+ public String toString() {
+ Formatter r = new Formatter();
+ r.format("{cookie:\"%08x\", ip:\"%s\", query:", cookie, ip.getHostAddress());
+ String sep = "[";
+ for (String term : query) {
+ r.format("%s\"%s\"", sep, term);
+ sep = ", ";
+ }
+ r.format("]}");
+ return r.toString();
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
new file mode 100644
index 0000000..bf88852
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
@@ -0,0 +1,62 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import com.google.common.collect.Lists;
+import org.apache.mahout.math.random.Sampler;
+
+import java.util.List;
+
+/**
+ * Samples from a set of things based on a long-tailed distribution. This converts
+ * the ChineseRestaurant distribution from a distribution over integers into a distribution
+ * over more plausible looking things like words.
+ */
+public abstract class LongTail<T> implements Sampler<T> {
+ private ChineseRestaurant base;
+ private List<T> things = Lists.newArrayList();
+
+ protected LongTail(double alpha, double discount) {
+ base = new ChineseRestaurant(alpha, discount);
+ }
+
+ public T sample() {
+ int n = base.sample();
+ while (n >= things.size()) {
+ things.add(createThing());
+ }
+ return things.get(n);
+ }
+
+ public ChineseRestaurant getBaseDistribution() {
+ return base;
+ }
+
+ protected abstract T createThing();
+
+ public List<T> getThings() {
+ return things;
+ }
+
+ public void setThing(int i, T thing) {
+ while (things.size() <= i) {
+ things.add(null);
+ }
+ things.set(i, thing);
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
new file mode 100644
index 0000000..e95b9a7
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/Main.java
@@ -0,0 +1,74 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+
+import com.google.common.base.Charsets;
+import com.google.common.io.Files;
+
+import java.io.BufferedWriter;
+import java.io.File;
+import java.io.IOException;
+
+/**
+ * Create a query log with a specified number of log lines and an associated user profile database.
+ * <p/>
+ * Command line args include number of log lines to generate, the name of the log file to generate and the
+ * name of the file to store the user profile database in.
+ * <p/>
+ * Log lines and user profile entries are single line JSON.
+ */
+public class Main {
+ public static void main(String[] args) throws IOException {
+
+ int n = Integer.parseInt(args[0].replaceAll("[KMG]?$", ""));
+
+ switch (args[0].charAt(args[0].length() - 1)) {
+ case 'G':
+ n *= 1e9;
+ break;
+ case 'M':
+ n *= 1e6;
+ break;
+ case 'K':
+ n *= 1e3;
+ break;
+ default:
+ // no suffix leads here
+ break;
+ }
+
+ LogGenerator lg = new LogGenerator();
+ BufferedWriter log = Files.newWriter(new File(args[1]), Charsets.UTF_8);
+ for (int i = 0; i < n; i++) {
+ if (i % 10000 == 0) {
+ System.out.printf("%d %d\n", i, lg.getUserCount());
+ }
+ log.write(lg.sample().toString());
+ log.newLine();
+ }
+ log.close();
+
+ BufferedWriter profile = Files.newWriter(new File(args[2]), Charsets.UTF_8);
+ for (User user : lg.getUsers()) {
+ profile.write(user.toString());
+ profile.newLine();
+ }
+ profile.close();
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
new file mode 100644
index 0000000..9ddd61b
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
@@ -0,0 +1,56 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import org.apache.mahout.math.random.Sampler;
+
+/**
+ * Generate words at random from a specialized vocabulary. Every term generator's
+ * frequency distribution has a common basis, but each will diverge after initialization.
+ */
+public class TermGenerator implements Sampler<String> {
+ // the word generator handles the problem of making up new words
+ // it also provides the seed frequencies
+ private WordGenerator words;
+
+ private LongTail<String> distribution;
+
+ public TermGenerator(WordGenerator words, final int alpha, final double discount) {
+ this.words = words;
+ distribution = new LongTail<String>(alpha, discount) {
+ private int count = TermGenerator.this.words.size();
+
+ @Override
+ protected String createThing() {
+ return TermGenerator.this.words.getString(count++);
+ }
+ };
+
+ int i = 0;
+ for (String word : this.words.getBaseWeights().keySet()) {
+ distribution.getBaseDistribution().setCount(i, this.words.getBaseWeights().get(word));
+ distribution.setThing(i, word);
+ i++;
+ }
+
+ }
+
+ public String sample() {
+ return distribution.sample();
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
new file mode 100644
index 0000000..194a666
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/User.java
@@ -0,0 +1,74 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import com.google.common.collect.Lists;
+import org.apache.mahout.common.RandomUtils;
+import org.apache.mahout.math.jet.random.Exponential;
+
+import java.net.InetAddress;
+import java.util.List;
+
+/**
+ * Created with IntelliJ IDEA.
+ * User: tdunning
+ * Date: 2/2/13
+ * Time: 6:15 PM
+ * To change this template use File | Settings | File Templates.
+ */
+public class User {
+ private Exponential queryLengthDistribution = new Exponential(0.4, RandomUtils.getRandom());
+
+ private long cookie = RandomUtils.getRandom().nextLong();
+
+ private TermGenerator terms;
+ private InetAddress address;
+ private String geoCode;
+
+ public User(InetAddress address, TermGenerator geoCoder, TermGenerator terms) {
+ this.terms = terms;
+ geoCode = geoCoder.sample();
+ this.address = address;
+ }
+
+ public InetAddress getAddress() {
+ return address;
+ }
+
+ public long getCookie() {
+ return cookie;
+ }
+
+ public List<String> getQuery() {
+ int n = queryLengthDistribution.nextInt() + 1;
+ List<String> r = Lists.newArrayList();
+ for (int i = 0; i < n; i++) {
+ r.add(terms.sample());
+ }
+ return r;
+ }
+
+ public String getGeoCode() {
+ return geoCode;
+ }
+
+ @Override
+ public String toString() {
+ return String.format("{ip:\"%s\", cookie:\"%08x\", geo:\"%s\"}", address, cookie, geoCode);
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java b/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
new file mode 100644
index 0000000..0167308
--- /dev/null
+++ b/sandbox/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
@@ -0,0 +1,124 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import com.google.common.base.Charsets;
+import com.google.common.base.Splitter;
+import com.google.common.collect.Lists;
+import com.google.common.collect.Maps;
+import com.google.common.io.LineProcessor;
+import com.google.common.io.Resources;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+import java.io.BufferedReader;
+import java.io.IOException;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.nio.file.Files;
+import java.nio.file.Path;
+import java.nio.file.Paths;
+import java.util.Iterator;
+import java.util.List;
+import java.util.Map;
+
+/**
+ * Emulates an infinite list of words, a prefix of which are taken from lists of plausible words. The first words
+ * are taken from a resource that has frequencies in it. These frequencies can be used to initialize term
+ * generators to a common language. The next batch of words are taken from a long list of words with no frequencies.
+ * After that, words are coined by using an integer count.
+ */
+public class WordGenerator {
+ private final Logger log = LoggerFactory.getLogger(WordGenerator.class);
+
+ private BufferedReader wordReader;
+ private final List<String> words = Lists.newArrayList();
+ private final Map<String, Integer> baseWeights = Maps.newLinkedHashMap();
+
+ public WordGenerator(String seed, String others) {
+ // read the common words
+ if (seed != null) {
+ try {
+ Resources.readLines(Resources.getResource(seed), Charsets.UTF_8,
+ new LineProcessor<Object>() {
+ private boolean header = true;
+ private final Splitter onTabs = Splitter.on("\t");
+
+ public boolean processLine(String s) throws IOException {
+ if (!s.startsWith("#")) {
+ if (!header) {
+ Iterator<String> fields = onTabs.split(s).iterator();
+ fields.next();
+ String word = fields.next();
+ words.add(word);
+ int count = (int) Math.rint(Double.parseDouble(fields.next()));
+ baseWeights.put(word, count);
+ } else {
+ header = false;
+ }
+ }
+ return true;
+ }
+
+ public Object getResult() {
+ return null;
+ }
+ });
+ } catch (IOException e) {
+ log.error("Can't read resource \"{}\", will continue without realistic words", seed);
+ }
+ }
+
+ try {
+ wordReader = new BufferedReader(Resources.newReaderSupplier(Resources.getResource(others), Charsets.UTF_8).getInput());
+ } catch (IOException e) {
+ log.error("Can't read resource \"{}\", will continue without realistic words", others);
+ wordReader = null;
+ }
+
+ }
+
+ public String getString(int n) {
+ if (n >= words.size()) {
+ synchronized (this) {
+ while (n >= words.size()) {
+ try {
+ String w = wordReader.readLine();
+ if (w != null) {
+ words.add(w);
+ } else {
+ words.add("w-" + n);
+ }
+ } catch (IOException e) {
+ log.error("Error reading other words resource", e);
+ words.add("w-" + n);
+ }
+ }
+ }
+ }
+ return words.get(n);
+ }
+
+ public Map<String, Integer> getBaseWeights() {
+ return baseWeights;
+ }
+
+ public int size() {
+ return words.size();
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/resources/geo-codes
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/resources/geo-codes b/sandbox/synth-log/src/main/resources/geo-codes
new file mode 100644
index 0000000..f08d1fc
--- /dev/null
+++ b/sandbox/synth-log/src/main/resources/geo-codes
@@ -0,0 +1,297 @@
+AL
+AK
+AZ
+AR
+CA
+CO
+CT
+DE
+FL
+GA
+HI
+ID
+IL
+IN
+IA
+KS
+KY
+LA
+ME
+MD
+MA
+MI
+MN
+MS
+MO
+MT
+NE
+NV
+NH
+NJ
+NM
+NY
+NC
+ND
+OH
+OK
+OR
+PA
+RI
+SC
+SD
+TN
+TX
+UT
+VT
+VA
+WA
+WV
+WI
+WY
+AS
+DC
+FM
+GU
+MH
+MP
+PW
+PR
+VI
+AF
+AL
+DZ
+AS
+AD
+AO
+AI
+AQ
+AG
+AR
+AM
+AW
+AU
+AT
+AZ
+BS
+BH
+BD
+BB
+BY
+BE
+BZ
+BJ
+BM
+BT
+BO
+BA
+BW
+BV
+BR
+IO
+BN
+BG
+BF
+BI
+KH
+CM
+CA
+CV
+KY
+CF
+TD
+CL
+CN
+CX
+CC
+CO
+KM
+CG
+CD
+CK
+CR
+CI
+HR
+CU
+CY
+CZ
+DK
+DJ
+DM
+DO
+TP
+EC
+EG
+SV
+GQ
+ER
+EE
+ET
+FK
+FO
+FJ
+FI
+FR
+FX
+GF
+PF
+TF
+GA
+GM
+GE
+DE
+GH
+GI
+GR
+GL
+GD
+GP
+GU
+GT
+GN
+GW
+GY
+HT
+HM
+VA
+HN
+HK
+HU
+IS
+IN
+ID
+IR
+IQ
+IE
+IL
+IT
+JM
+JP
+JO
+KZ
+KE
+KI
+KP
+KR
+KW
+KG
+LA
+LV
+LB
+LS
+LR
+LY
+LI
+LT
+LU
+MO
+MK
+MG
+MW
+MY
+MV
+ML
+MT
+MH
+MQ
+MR
+MU
+YT
+MX
+FM
+MD
+MC
+MN
+MS
+MA
+MZ
+MM
+NA
+NR
+NP
+NL
+AN
+NC
+NZ
+NI
+NE
+NG
+NU
+NF
+MP
+NO
+OM
+PK
+PW
+PA
+PG
+PY
+PE
+PH
+PN
+PL
+PT
+PR
+QA
+RE
+RO
+RU
+RW
+KN
+LC
+VC
+WS
+SM
+ST
+SA
+SN
+SC
+SL
+SG
+SK
+SI
+SB
+SO
+ZA
+GS
+ES
+LK
+SH
+PM
+SD
+SR
+SJ
+SZ
+SE
+CH
+SY
+TW
+TJ
+TZ
+TH
+TG
+TK
+TO
+TT
+TN
+TR
+TM
+TC
+TV
+UG
+UA
+AE
+GB
+US
+UM
+UY
+UZ
+VU
+VE
+VN
+VG
+VI
+WF
+EH
+YE
+ZM
+ZW
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/main/resources/log4j.properties b/sandbox/synth-log/src/main/resources/log4j.properties
new file mode 100644
index 0000000..b445615
--- /dev/null
+++ b/sandbox/synth-log/src/main/resources/log4j.properties
@@ -0,0 +1,27 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http:# www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+# Set root logger level to DEBUG and its only appender to A1.
+log4j.rootLogger=DEBUG, A1
+
+# A1 is set to be a ConsoleAppender.
+log4j.appender.A1=org.apache.log4j.ConsoleAppender
+
+# A1 uses PatternLayout.
+log4j.appender.A1.layout=org.apache.log4j.PatternLayout
+log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
+
+log4j.logger.org.apache=off
[23/29] DRILL-221,
part 3. More license updates. Automatically run Rat plugin with
appropriate excludes. Move Synth-log to sandbox until it is part of main mvn
build to avoid weird RAT problems.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java b/sandbox/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
new file mode 100644
index 0000000..b983eb2
--- /dev/null
+++ b/sandbox/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
@@ -0,0 +1,97 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import com.google.common.base.Function;
+import com.google.common.collect.*;
+import org.apache.commons.math3.distribution.NormalDistribution;
+import org.apache.mahout.math.stats.LogLikelihood;
+import org.junit.Test;
+
+import java.util.List;
+
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertTrue;
+
+public class TermGeneratorTest {
+
+ private static final WordGenerator WORDS = new WordGenerator("word-frequency-seed", "other-words");
+
+ @Test
+ public void generateTerms() {
+ TermGenerator x = new TermGenerator(WORDS, 1, 0.8);
+ final Multiset<String> counts = HashMultiset.create();
+ for (int i = 0; i < 10000; i++) {
+ counts.add(x.sample());
+ }
+
+ assertEquals(10000, counts.size());
+ assertTrue("Should have some common words", counts.elementSet().size() < 10000);
+ List<Integer> k = Lists.newArrayList(Iterables.transform(counts.elementSet(), new Function<String, Integer>() {
+ public Integer apply(String s) {
+ return counts.count(s);
+ }
+ }));
+// System.out.printf("%s\n", Ordering.natural().reverse().sortedCopy(k).subList(0, 30));
+// System.out.printf("%s\n", Iterables.transform(Iterables.filter(counts.elementSet(), new Predicate<String>() {
+// public boolean apply(String s) {
+// return counts.count(s) > 100;
+// }
+// }), new Function<String, String>() {
+// public String apply(String s) {
+// return s + ":" + counts.count(s);
+// }
+// }));
+ assertEquals(1, Ordering.natural().leastOf(k, 1).get(0).intValue());
+ assertTrue(Ordering.natural().greatestOf(k, 1).get(0) > 300);
+ assertTrue(counts.count("the") > 300);
+ }
+
+ @Test
+ public void distinctVocabularies() {
+ TermGenerator x1 = new TermGenerator(WORDS, 1, 0.8);
+ final Multiset<String> k1 = HashMultiset.create();
+ for (int i = 0; i < 50000; i++) {
+ k1.add(x1.sample());
+ }
+
+ TermGenerator x2 = new TermGenerator(WORDS, 1, 0.8);
+ final Multiset<String> k2 = HashMultiset.create();
+ for (int i = 0; i < 50000; i++) {
+ k2.add(x2.sample());
+ }
+
+ final NormalDistribution normal = new NormalDistribution();
+ List<Double> scores = Ordering.natural().sortedCopy(Iterables.transform(k1.elementSet(),
+ new Function<String, Double>() {
+ public Double apply(String s) {
+ return normal.cumulativeProbability(LogLikelihood.rootLogLikelihoodRatio(k1.count(s), 50000 - k1.count(s), k2.count(s), 50000 - k2.count(s)));
+ }
+ }));
+ int n = scores.size();
+// System.out.printf("%.5f, %.5f, %.5f, %.5f, %.5f, %.5f, %.5f", scores.get(0), scores.get((int) (0.05*n)), scores.get(n / 4), scores.get(n / 2), scores.get(3 * n / 4), scores.get((int) (0.95 * n)), scores.get(n - 1));
+ int i = 0;
+ for (Double score : scores) {
+ if (i % 10 == 0) {
+ System.out.printf("%.6f\t%.6f\n", (double) i / n, score);
+ }
+
+ i++;
+ }
+ }
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
----------------------------------------------------------------------
diff --git a/sandbox/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java b/sandbox/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
new file mode 100644
index 0000000..0bfdf06
--- /dev/null
+++ b/sandbox/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
@@ -0,0 +1,39 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.drill.synth;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
+
+public class WordGeneratorTest {
+ @Test
+ public void checkRealWords() {
+ WordGenerator words = new WordGenerator("word-frequency-seed", "other-words");
+ for (int i = 0; i < 20000; i++) {
+ assertFalse(words.getString(i).matches("-[0-9]+"));
+ }
+
+ for (int i = 0; i < 1000; i++) {
+ String w = words.getString(i + 200000);
+ assertTrue(w.matches(".*-[0-9]+"));
+ }
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sandbox/web-frontend/drill.js
----------------------------------------------------------------------
diff --git a/sandbox/web-frontend/drill.js b/sandbox/web-frontend/drill.js
index 598ac39..bbc1b9d 100644
--- a/sandbox/web-frontend/drill.js
+++ b/sandbox/web-frontend/drill.js
@@ -1,18 +1,20 @@
-//Licensed to the Apache Software Foundation (ASF) under one
-//or more contributor license agreements. See the NOTICE file
-//distributed with this work for additional information
-//regarding copyright ownership. The ASF licenses this file
-//to you under the Apache License, Version 2.0 (the
-//"License"); you may not use this file except in compliance
-//with the License. You may obtain a copy of the License at
-//
-//http://www.apache.org/licenses/LICENSE-2.0
-//
-//Unless required by applicable law or agreed to in writing, software
-//distributed under the License is distributed on an "AS IS" BASIS,
-//WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-//See the License for the specific language governing permissions and
-//limitations under the License.
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
// Drill frontend settings
var MAX_PROJECTS = 100;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sqlparser/pom.xml
----------------------------------------------------------------------
diff --git a/sqlparser/pom.xml b/sqlparser/pom.xml
index bdde6f4..db14848 100644
--- a/sqlparser/pom.xml
+++ b/sqlparser/pom.xml
@@ -1,20 +1,14 @@
<?xml version="1.0"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
@@ -22,7 +16,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>sqlparser</artifactId>
<name>SQL Parser</name>
@@ -96,6 +90,23 @@
<version>2.7.1</version>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <inherited>true</inherited>
+ <configuration>
+ <excludes>
+ <exclude>**/.buildpath</exclude>
+ <exclude>**/*.json</exclude>
+ <exclude>**/donuts-output-data.txt</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
<profiles>
<profile>
<id>default-hadoop</id>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/sqlparser/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/sqlparser/src/test/resources/logback.xml b/sqlparser/src/test/resources/logback.xml
index ff9e2ca..13808a6 100644
--- a/sqlparser/src/test/resources/logback.xml
+++ b/sqlparser/src/test/resources/logback.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<configuration>
<appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
[12/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorReadExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorReadExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorReadExpression.java
index 74dcc0d..5e251a1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorReadExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorReadExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java
index bfecb18..02277af 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ValueVectorWriteExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/FunctionTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/FunctionTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/FunctionTemplate.java
index 2e7a458..2208e53 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/FunctionTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/FunctionTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.annotations;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/MethodMap.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/MethodMap.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/MethodMap.java
index 3f3f45d..cc54c2e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/MethodMap.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/MethodMap.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.annotations;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Output.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Output.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Output.java
index d45f726..1013c34 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Output.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Output.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.annotations;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Param.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Param.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Param.java
index 87aac57..20c0746 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Param.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Param.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.annotations;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Workspace.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Workspace.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Workspace.java
index 75c97b5..b9b8120 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Workspace.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/annotations/Workspace.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.annotations;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java
index d702b20..d0fe59f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillAggFuncHolder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFuncHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFuncHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFuncHolder.java
index 91f7705..e001ffe 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFuncHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillFuncHolder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillSimpleFuncHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillSimpleFuncHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillSimpleFuncHolder.java
index f92c82f..d31f950 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillSimpleFuncHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/DrillSimpleFuncHolder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionBody.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionBody.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionBody.java
index 04d6e4c..7999d41 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionBody.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionBody.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
public class FunctionBody {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java
index 4c51cf5..4a11aa8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionConverter.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java
index b492610..5bbab76 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/FunctionImplementationRegistry.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ImportGrabber.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ImportGrabber.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ImportGrabber.java
index 8fc73c2..af62d2b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ImportGrabber.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ImportGrabber.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/MethodGrabbingVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/MethodGrabbingVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/MethodGrabbingVisitor.java
index 75a6ff2..3a87f43 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/MethodGrabbingVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/MethodGrabbingVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
import java.io.StringWriter;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ModifiedUnparseVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ModifiedUnparseVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ModifiedUnparseVisitor.java
index be03bac..da0e9d7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ModifiedUnparseVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/ModifiedUnparseVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/CountFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/CountFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/CountFunctions.java
index b8c4dde..b0939f1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/CountFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/CountFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.agg.impl;
import org.apache.drill.exec.expr.DrillAggFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/SumFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/SumFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/SumFunctions.java
index 6a771f1..57905fe 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/SumFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/agg/impl/SumFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.agg.impl;
import org.apache.drill.exec.expr.DrillAggFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/Alternator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/Alternator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/Alternator.java
index 073a065..5bff29e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/Alternator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/Alternator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.CallProvider;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/BitFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/BitFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/BitFunctions.java
index fdaced5..41bb7c6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/BitFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/BitFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.exec.expr.DrillSimpleFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ByteSubstring.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ByteSubstring.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ByteSubstring.java
index eea1dd8..964e4af 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ByteSubstring.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ByteSubstring.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.Arg;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/CharSubstring.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/CharSubstring.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/CharSubstring.java
index 4794ae2..f991a41 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/CharSubstring.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/CharSubstring.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.Arg;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparatorFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparatorFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparatorFunctions.java
index b8a186f..cd0eb21 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparatorFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparatorFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctions.java
index 0202b37..15034cd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.exec.expr.DrillSimpleFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctionsNullable.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctionsNullable.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctionsNullable.java
index 976b759..9be620a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctionsNullable.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/ComparisonFunctionsNullable.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.exec.expr.DrillSimpleFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
index f06202c..76683f3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashHelper.java
index 1497b5b..c089c00 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/HashHelper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import java.nio.ByteBuffer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNotNull.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNotNull.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNotNull.java
index 9b6bdf7..5ee5ccb 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNotNull.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNotNull.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNull.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNull.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNull.java
index 31f26c4..a042a5a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNull.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/IsNull.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java
index 3f4b976..288760b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/MathFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.exec.expr.DrillSimpleFunc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java
index 972d9ea..2f838b1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/SimpleRepeatedFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.common.expression.Arg;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/VarHelpers.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/VarHelpers.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/VarHelpers.java
index 5a7f911..75b5ecd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/VarHelpers.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/fn/impl/VarHelpers.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.fn.impl;
import org.apache.drill.exec.expr.holders.NullableVarBinaryHolder;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/ValueHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/ValueHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/ValueHolder.java
index 0ef2e04..5c2adc6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/ValueHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/holders/ValueHolder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr.holders;
public interface ValueHolder {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/memory/BufferAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/BufferAllocator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/BufferAllocator.java
index c62d76b..1584092 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/BufferAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/BufferAllocator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.memory;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/memory/DirectBufferAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/DirectBufferAllocator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/DirectBufferAllocator.java
index 499a693..77a251d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/memory/DirectBufferAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/memory/DirectBufferAllocator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.memory;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java
index 1f47041..f153867 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/metrics/SingleThreadNestedCounter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.metrics;
import org.apache.drill.exec.server.DrillbitContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
index bbe4cfb..352c467 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/FragmentContext.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
index 3d4930d..c4cbf09 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/ops/QueryContext.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ops;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/opt/BasicOptimizer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/BasicOptimizer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/BasicOptimizer.java
index c116b59..5a1fd6e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/BasicOptimizer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/BasicOptimizer.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.opt;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/opt/IdentityOptimizer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/IdentityOptimizer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/IdentityOptimizer.java
index d2aaca3..979c5e2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/IdentityOptimizer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/IdentityOptimizer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.opt;
import org.apache.drill.common.config.DrillConfig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/opt/Optimizer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/Optimizer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/Optimizer.java
index e6e00e4..c7069c3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/opt/Optimizer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/opt/Optimizer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.opt;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/DataValidationMode.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/DataValidationMode.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/DataValidationMode.java
index 334119d..9a97e3d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/DataValidationMode.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/DataValidationMode.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
public enum DataValidationMode {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/EndpointAffinity.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/EndpointAffinity.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/EndpointAffinity.java
index d7b21db..f3059ae 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/EndpointAffinity.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/EndpointAffinity.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/OperatorCost.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/OperatorCost.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/OperatorCost.java
index ebe6446..0bade41 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/OperatorCost.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/OperatorCost.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/PhysicalPlan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/PhysicalPlan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/PhysicalPlan.java
index 84bfc87..7349dad 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/PhysicalPlan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/PhysicalPlan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntry.java
index 02fe025..f99ad0e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import org.apache.drill.exec.physical.base.Size;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryFromHDFS.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryFromHDFS.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryFromHDFS.java
index b90f1bc..e748d4c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryFromHDFS.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryFromHDFS.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryWithPath.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryWithPath.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryWithPath.java
index 9d607d0..a24869b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryWithPath.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/ReadEntryWithPath.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import org.apache.drill.exec.physical.base.Size;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/RecordField.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/RecordField.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/RecordField.java
index 4e9eb4c..8f3dd2e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/RecordField.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/RecordField.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
import org.apache.drill.common.types.TypeProtos.MajorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/WriteEntry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/WriteEntry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/WriteEntry.java
index 96bd996..5f45fb3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/WriteEntry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/WriteEntry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical;
public interface WriteEntry {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractBase.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractBase.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractBase.java
index 08b6bd7..f7a6f51 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractBase.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.common.graph.GraphVisitor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractExchange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractExchange.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractExchange.java
index 42a15ae..a09eb14 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractExchange.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractExchange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java
index 9691f08..0b486e9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractGroupScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractMultiple.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractMultiple.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractMultiple.java
index 247595b..6b774ed 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractMultiple.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractMultiple.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.base;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractPhysicalVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractPhysicalVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractPhysicalVisitor.java
index c997db4..286144b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractPhysicalVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractPhysicalVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.config.Filter;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractReceiver.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractReceiver.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractReceiver.java
index e8ba19c..2a9cab7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractReceiver.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractReceiver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSender.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSender.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSender.java
index f8c22b3..ae6643d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSender.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSender.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.OperatorCost;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSingle.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSingle.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSingle.java
index 264ee91..4b6499f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSingle.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractSingle.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.Iterator;
[05/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceTransform.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceTransform.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceTransform.java
index aaae68a..e31c09b 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceTransform.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceTransform.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref;
import org.apache.drill.exec.ref.rops.ReferenceOperator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/RunOutcome.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/RunOutcome.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/RunOutcome.java
index 1e5b226..5a07031 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/RunOutcome.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/RunOutcome.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
public class RunOutcome {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/UnbackedRecord.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/UnbackedRecord.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/UnbackedRecord.java
index 1fa4348..29c83d4 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/UnbackedRecord.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/UnbackedRecord.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BaseBasicEvaluator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BaseBasicEvaluator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BaseBasicEvaluator.java
index 1cd8912..e6b7e7c 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BaseBasicEvaluator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BaseBasicEvaluator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.exec.ref.RecordPointer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BasicEvaluatorFactory.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BasicEvaluatorFactory.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BasicEvaluatorFactory.java
index ad86b73..13b7729 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BasicEvaluatorFactory.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BasicEvaluatorFactory.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BoundarySubscriber.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BoundarySubscriber.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BoundarySubscriber.java
index cdba420..5e01fb6 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BoundarySubscriber.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/BoundarySubscriber.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
public interface BoundarySubscriber {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorFactory.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorFactory.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorFactory.java
index b24b9b4..084fe70 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorFactory.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorFactory.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorTypes.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorTypes.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorTypes.java
index 2cb65ff..a108f06 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorTypes.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/EvaluatorTypes.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.exec.ref.values.DataValue;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/FieldEvaluator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/FieldEvaluator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/FieldEvaluator.java
index 25f0b9e..2b1a218 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/FieldEvaluator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/FieldEvaluator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.common.expression.SchemaPath;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/IfEvaluator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/IfEvaluator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/IfEvaluator.java
index c78980a..c7f242e 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/IfEvaluator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/IfEvaluator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import org.apache.drill.common.expression.IfExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/SimpleEvaluationVisitor.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/SimpleEvaluationVisitor.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/SimpleEvaluationVisitor.java
index 5b2c781..1b04880 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/SimpleEvaluationVisitor.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/SimpleEvaluationVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/ComparisonEvaluators.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/ComparisonEvaluators.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/ComparisonEvaluators.java
index 3e6d428..1b1b3af 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/ComparisonEvaluators.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/ComparisonEvaluators.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import org.apache.drill.exec.ref.RecordPointer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionArguments.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionArguments.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionArguments.java
index 7b8902c..47c0405 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionArguments.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionArguments.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluator.java
index bc29161..03cee68 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import java.lang.annotation.Retention;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluatorRegistry.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluatorRegistry.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluatorRegistry.java
index 719115a..363304a 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluatorRegistry.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/FunctionEvaluatorRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import java.lang.reflect.Constructor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/MathEvaluators.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/MathEvaluators.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/MathEvaluators.java
index d080cd3..347a4f3 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/MathEvaluators.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/MathEvaluators.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import org.apache.drill.common.types.Types;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/StringEvaluators.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/StringEvaluators.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/StringEvaluators.java
index a3c336e..5a3ee02 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/StringEvaluators.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/StringEvaluators.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn;
import java.util.regex.Matcher;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/AggregatingWrapperEvaluator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/AggregatingWrapperEvaluator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/AggregatingWrapperEvaluator.java
index ab7358f..b56e5f4 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/AggregatingWrapperEvaluator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/AggregatingWrapperEvaluator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn.agg;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/CountAggregator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/CountAggregator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/CountAggregator.java
index 099c001..247807b 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/CountAggregator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/CountAggregator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn.agg;
import org.apache.drill.exec.ref.RecordPointer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/SumAggregator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/SumAggregator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/SumAggregator.java
index 63fe017..f1e01c0 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/SumAggregator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/eval/fn/agg/SumAggregator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.eval.fn.agg;
import org.apache.drill.exec.ref.RecordPointer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/MajorException.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/MajorException.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/MajorException.java
index 643dc3f..393c825 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/MajorException.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/MajorException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.exceptions;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/RecordException.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/RecordException.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/RecordException.java
index e4a272f..4f8ccd6 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/RecordException.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/RecordException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.exceptions;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/SetupException.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/SetupException.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/SetupException.java
index 506b8bf..cf44c82 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/SetupException.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/exceptions/SetupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.exceptions;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/AbstractBlockingOperator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/AbstractBlockingOperator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/AbstractBlockingOperator.java
index 57966ce..abbdc5c 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/AbstractBlockingOperator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/AbstractBlockingOperator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.logical.data.SingleInputOperator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BaseSinkROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BaseSinkROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BaseSinkROP.java
index d717fa3..4b46f41 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BaseSinkROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BaseSinkROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BoundaryListener.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BoundaryListener.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BoundaryListener.java
index 535281c..4d56885 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BoundaryListener.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/BoundaryListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.expression.SchemaPath;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/CollapsingAggregateROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/CollapsingAggregateROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/CollapsingAggregateROP.java
index 8b9c2f6..030efbb 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/CollapsingAggregateROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/CollapsingAggregateROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.expression.FieldReference;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ConstantROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ConstantROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ConstantROP.java
index 5d6f91f..1cfe8a8 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ConstantROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ConstantROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/DataWriter.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/DataWriter.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/DataWriter.java
index 8481daa..5c2a908 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/DataWriter.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/DataWriter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FilterROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FilterROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FilterROP.java
index e87c3fb..ff1fd05 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FilterROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FilterROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.logical.data.Filter;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FlattenROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FlattenROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FlattenROP.java
index f6e6907..db7c916 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FlattenROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/FlattenROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.expression.SchemaPath;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/JoinROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/JoinROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/JoinROP.java
index 44fc3df..2b46f1a 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/JoinROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/JoinROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import com.google.common.base.Optional;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/LimitROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/LimitROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/LimitROP.java
index 4a29f94..00baf81 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/LimitROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/LimitROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.logical.data.Limit;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/OrderROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/OrderROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/OrderROP.java
index cbb59eb..9f25641 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/OrderROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/OrderROP.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProjectROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProjectROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProjectROP.java
index a8ebad6..3426aa6 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProjectROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProjectROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.expression.PathSegment;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProxySimpleRecord.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProxySimpleRecord.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProxySimpleRecord.java
index 0671587..79499b2 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProxySimpleRecord.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ProxySimpleRecord.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROP.java
index 59b58d3..42b532f 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROP.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.exec.ref.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROPBase.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROPBase.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROPBase.java
index 396d211..22a2bfa 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROPBase.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ROPBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.logical.data.LogicalOperator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperator.java
index d24c4c0..2921d9c 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.exec.ref.RecordIterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperatorBase.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperatorBase.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperatorBase.java
index bad5443..06b3907 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperatorBase.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ReferenceOperatorBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.exec.ref.RecordIterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ScanROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ScanROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ScanROP.java
index 3474e34..5c815d0 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ScanROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/ScanROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SegmentROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SegmentROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SegmentROP.java
index f2cb999..0770860 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SegmentROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SegmentROP.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SingleInputROPBase.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SingleInputROPBase.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SingleInputROPBase.java
index b88d7b4..541db2e 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SingleInputROPBase.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SingleInputROPBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SinkROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SinkROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SinkROP.java
index 50c5509..1795b95 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SinkROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/SinkROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.exec.ref.RunOutcome;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/StoreROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/StoreROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/StoreROP.java
index 7bbf5c5..9c5c876 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/StoreROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/StoreROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/TransformROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/TransformROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/TransformROP.java
index a98438d..6ed43d8 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/TransformROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/TransformROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.common.logical.data.NamedExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/UnionROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/UnionROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/UnionROP.java
index b823e68..717a1dc 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/UnionROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/UnionROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/WindowFrameROP.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/WindowFrameROP.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/WindowFrameROP.java
index e5b153e..30e472b 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/WindowFrameROP.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rops/WindowFrameROP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.ref.rops;
import com.google.common.base.Predicate;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ClasspathRSE.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ClasspathRSE.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ClasspathRSE.java
index 6515a3a..8e68643 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ClasspathRSE.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ClasspathRSE.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ConsoleRSE.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ConsoleRSE.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ConsoleRSE.java
index a914fe3..901a35c 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ConsoleRSE.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ConsoleRSE.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.OutputStream;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/FileSystemRSE.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/FileSystemRSE.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/FileSystemRSE.java
index eece57d..80ec9cd 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/FileSystemRSE.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/FileSystemRSE.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONDataWriter.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONDataWriter.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONDataWriter.java
index 24434d5..34fa427 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONDataWriter.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONDataWriter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONRecordReader.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONRecordReader.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONRecordReader.java
index 2639d4e..f73bee5 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONRecordReader.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/JSONRecordReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/OutputStreamWriter.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/OutputStreamWriter.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/OutputStreamWriter.java
index 20d5b8f..baae164 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/OutputStreamWriter.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/OutputStreamWriter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/QueueRSE.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/QueueRSE.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/QueueRSE.java
index c870cca..96aef77 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/QueueRSE.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/QueueRSE.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.ByteArrayOutputStream;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSEBase.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSEBase.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSEBase.java
index 3f86c98..bbebc12 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSEBase.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSEBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSERegistry.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSERegistry.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSERegistry.java
index 33c93c7..6eb48e1 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSERegistry.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RSERegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.lang.reflect.Constructor;
[27/29] DRILL-221,
part 3. More license updates. Automatically run Rat plugin with
appropriate excludes. Move Synth-log to sandbox until it is part of main mvn
build to avoid weird RAT problems.
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/resources/word-frequency-seed
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/resources/word-frequency-seed b/contrib/synth-log/src/main/resources/word-frequency-seed
deleted file mode 100644
index f994375..0000000
--- a/contrib/synth-log/src/main/resources/word-frequency-seed
+++ /dev/null
@@ -1,5003 +0,0 @@
-# the most common 5000 words from the Simpsons' in tab-delimited form
-# found at http://pastebin.com/anKcMdvk referenced from http://en.wiktionary.org/wiki/Wiktionary:Frequency_lists
-Rank Word Frequency
-1 the 5397.3
-2 you 4903.4
-3 i 4575.1
-4 a 3962.05
-5 to 3518.1
-6 and 2395.8
-7 of 2108.75
-8 it 1824.85
-9 in 1625.15
-10 my 1612.7
-11 that 1604.15
-12 is 1576.65
-13 this 1495.1
-14 me 1410.4
-15 your 1339.05
-16 for 1281.7
-17 oh 1252.65
-18 i'm 1169.45
-19 on 1142.3
-20 we 1067.75
-21 what 1009.1
-22 no 999.5
-23 all 996.1
-24 have 977.15
-25 be 924.45
-26 but 912.2
-27 don't 901.1
-28 it's 859.15
-29 do 835.65
-30 are 809.95
-31 just 803.15
-32 with 800.3
-33 not 759.85
-34 like 747.7
-35 so 733.45
-36 well 726.75
-37 now 723.65
-38 was 685.25
-39 get 682.95
-40 can 642.2
-41 you're 629.9
-42 know 615
-43 homer 596.4
-44 out 590.75
-45 here 583.7
-46 one 575.95
-47 at 573.15
-48 that's 568.2
-49 up 558.95
-50 hey 546.7
-51 right 534.95
-52 if 531.6
-53 go 499.15
-54 got 495.3
-55 bart 486.25
-56 he 469.1
-57 how 433.15
-58 our 430.6
-59 about 426.7
-60 there 411.55
-61 i'll 408.55
-62 good 403.25
-63 come 400.85
-64 yeah 399
-65 see 386.95
-66 will 386.8
-67 they 379.5
-68 want 376.85
-69 marge 376.75
-70 man 376
-71 from 375.95
-72 as 372.8
-73 think 359.3
-74 an 349.75
-75 little 345.9
-76 can't 345.55
-77 look 342.85
-78 why 341.5
-79 him 324.45
-80 back 319.05
-81 did 313
-82 okay 312.65
-83 who 310.75
-84 dad 307.25
-85 some 306.9
-86 us 305.35
-87 time 303.85
-88 when 299.7
-89 gonna 296.25
-90 uh 295.35
-91 take 294.9
-92 could 294.35
-93 simpson 288
-94 his 286.2
-95 never 284.5
-96 lisa 282.3
-97 going 273.6
-98 yes 273.25
-99 we're 272.15
-100 i've 269.6
-101 say 268.75
-102 he's 266.65
-103 by 263.35
-104 make 259.8
-105 would 259.65
-106 more 255.75
-107 been 244.9
-108 or 242.05
-109 love 240.85
-110 let's 236.1
-111 really 231.4
-112 there's 230.95
-113 has 226.55
-114 her 224
-115 way 222.2
-116 down 221.95
-117 mr 221.9
-118 too 220.65
-119 off 213.65
-120 them 213.25
-121 boy 209
-122 give 208.45
-123 something 205.45
-124 need 202.6
-125 where 202.45
-126 were 202.1
-127 only 201.6
-128 people 200.55
-129 what's 199.25
-130 then 199.2
-131 over 195.75
-132 tell 195.3
-133 am 194.1
-134 sorry 193.6
-135 had 192.8
-136 these 189.6
-137 let 188.55
-138 those 187.15
-139 two 186.55
-140 sure 185.4
-141 didn't 183.75
-142 day 183.25
-143 thing 181.4
-144 kids 178.7
-145 please 176.6
-146 wait 174.75
-147 new 174.65
-148 mom 174.5
-149 hmm 167.05
-150 should 165.45
-151 she 161.2
-152 first 159.6
-153 ever 159.6
-154 better 155.25
-155 stop 154.85
-156 great 154.8
-157 sir 154.55
-158 again 153.8
-159 god 153.7
-160 old 152
-161 help 148.7
-162 maybe 148.1
-163 big 146.9
-164 any 146.9
-165 thank 145.8
-166 i'd 143.05
-167 into 143.05
-168 home 141.55
-169 life 141.3
-170 even 140.35
-171 they're 140
-172 than 139.8
-173 very 139.5
-174 gasps 138.05
-175 put 137.85
-176 school 137.5
-177 said 137.2
-178 their 136.6
-179 mean 136.3
-180 work 135.85
-181 show 135
-182 you've 134.4
-183 laughing 133.45
-184 made 133.25
-185 son 132.75
-186 ooh 131.85
-187 we'll 130.75
-188 much 130.55
-189 hello 129.4
-190 because 129.35
-191 huh 128.6
-192 last 126.55
-193 you'll 126.55
-194 springfield 125.5
-195 call 124.8
-196 always 123.1
-197 still 122.25
-198 money 119.4
-199 must 117.35
-200 name 117.3
-201 family 117.05
-202 night 114.9
-203 groans 114.7
-204 find 114.25
-205 doing 113.3
-206 before 113.25
-207 thought 113.05
-208 won't 111.6
-209 house 111.1
-210 every 110.6
-211 next 108.7
-212 ah 108.05
-213 guy 107.5
-214 anything 107.25
-215 thanks 107.15
-216 bad 106.7
-217 isn't 105
-218 guess 104.8
-219 feel 104.4
-220 away 104.2
-221 burns 104
-222 three 103.95
-223 d'oh 103.65
-224 nothing 102.55
-225 things 101.95
-226 baby 101.05
-227 keep 100.85
-228 wow 100.4
-229 years 99.8
-230 nice 99.55
-231 other 99.5
-232 gotta 98.45
-233 does 97.45
-234 place 96.7
-235 we've 94.9
-236 world 94.15
-237 both 93.7
-238 real 93.6
-239 after 93.5
-240 mmm 93.45
-241 believe 93.1
-242 lot 92.5
-243 best 92.25
-244 guys 89.55
-245 car 89.4
-246 ow 89.35
-247 remember 89.2
-248 hear 88.7
-249 own 88.2
-250 long 88.05
-251 dog 87.55
-252 around 87.15
-253 kill 86.95
-254 moe 86.55
-255 fun 86.55
-256 whoa 86.4
-257 krusty 86.2
-258 another 86.1
-259 may 86.1
-260 stupid 85.75
-261 doesn't 85.5
-262 grunting 85.25
-263 grunts 84.75
-264 talk 84.65
-265 done 84.25
-266 here's 84.1
-267 happy 83.2
-268 today 82.8
-269 singing 82.6
-270 use 82.55
-271 play 82.5
-272 which 82.3
-273 she's 82.3
-274 children 81.8
-275 kind 81.6
-276 job 81.25
-277 wrong 80.7
-278 fine 80.2
-279 getting 80.2
-280 screams 79.35
-281 everything 79.3
-282 girl 78.55
-283 someone 78.2
-284 chuckles 77.85
-285 honey 77.65
-286 through 77
-287 coming 76.95
-288 eat 76.8
-289 father 76.5
-290 most 76.35
-291 everyone 75.95
-292 milhouse 75.8
-293 mother 75.6
-294 while 75.5
-295 worry 75.1
-296 many 73.6
-297 screaming 72.7
-298 hi 72.5
-299 enough 72.1
-300 looks 71.7
-301 leave 71.15
-302 watch 71.15
-303 hell 70.9
-304 listen 70.4
-305 left 70.2
-306 shut 69.85
-307 minute 69.85
-308 tonight 69.8
-309 tv 69.55
-310 maggie 69.25
-311 simpsons 68.6
-312 try 68.35
-313 talking 68.15
-314 turn 68.05
-315 town 67.8
-316 friend 67.75
-317 cool 67.7
-318 being 67
-319 friends 66.8
-320 beer 66.75
-321 live 66.65
-322 kid 66.45
-323 might 66.15
-324 homie 65.75
-325 without 64.35
-326 miss 64.2
-327 flanders 64.1
-328 who's 63.85
-329 room 63.65
-330 care 63.6
-331 everybody 63.35
-332 once 63.05
-333 book 62.85
-334 wanna 62.85
-335 stay 62.65
-336 seen 62.6
-337 aw 62.05
-338 hope 61.85
-339 told 61.8
-340 boys 61.5
-341 free 61.3
-342 head 61.2
-343 um 60.85
-344 such 60.2
-345 used 60.05
-346 ya 59.9
-347 wouldn't 59.4
-348 run 58.9
-349 young 58.85
-350 whole 58.7
-351 game 58.7
-352 pay 58.7
-353 dead 58.6
-354 pretty 58.6
-355 heard 58.55
-356 check 58.3
-357 continues 58.1
-358 start 58.05
-359 tires 57.95
-360 together 57.9
-361 door 57.5
-362 yourself 57.45
-363 sweet 57.15
-364 course 56.85
-365 wanted 56.65
-366 smithers 56.6
-367 sighs 56.5
-368 actually 56.35
-369 woman 56.3
-370 says 56.05
-371 read 56
-372 trying 55.55
-373 buy 55.25
-374 already 55.15
-375 'em 55.15
-376 wife 55.15
-377 idea 55.1
-378 skinner 55.05
-379 beautiful 54.95
-380 problem 54.6
-381 dear 54.25
-382 forget 54.05
-383 hard 54
-384 cheering 53.95
-385 five 53.7
-386 face 53.65
-387 welcome 53.45
-388 found 53.35
-389 hot 52.95
-390 gone 52.95
-391 eh 52.9
-392 came 52.7
-393 you'd 52.6
-394 called 52.5
-395 groaning 52.35
-396 party 52.35
-397 crazy 52.25
-398 happened 52
-399 mind 51.9
-400 wish 51.7
-401 myself 51.65
-402 food 51.45
-403 anyone 51.4
-404 makes 51.35
-405 laughs 51.35
-406 movie 51.3
-407 lost 51.25
-408 stuff 50.7
-409 mrs 50.45
-410 where's 50.45
-411 die 50.3
-412 making 50
-413 same 49.85
-414 true 49.65
-415 ned 49.45
-416 since 49.45
-417 'cause 49.05
-418 lady 49
-419 bring 48.95
-420 cut 48.8
-421 ask 48.8
-422 looking 48.65
-423 excuse 48.6
-424 music 48.3
-425 year 48.3
-426 word 48.25
-427 open 48.2
-428 hair 48
-429 hate 48
-430 eyes 47.9
-431 morning 47.75
-432 playing 47.65
-433 end 47.65
-434 special 47.6
-435 number 47.25
-436 screeching 47.25
-437 heart 47.2
-438 story 47.2
-439 chief 47.15
-440 fat 46.9
-441 tomorrow 46.75
-442 hold 46.7
-443 yet 46.5
-444 christmas 46.4
-445 shh 46.25
-446 went 46.1
-447 having 45.75
-448 damn 45.7
-449 four 45.65
-450 thinking 45.5
-451 funny 45.45
-452 afraid 45.45
-453 haven't 45.35
-454 comes 45.15
-455 ain't 45.1
-456 win 44.8
-457 finally 44.6
-458 aren't 44.45
-459 voice 44.4
-460 lord 44.35
-461 saying 44.3
-462 part 44.2
-463 else 44
-464 also 43.75
-465 class 43.75
-466 days 43.5
-467 each 43.4
-468 business 43.25
-469 couldn't 43.05
-470 under 42.8
-471 meet 42.4
-472 knew 42.35
-473 week 42.3
-474 phone 42
-475 ready 42
-476 least 41.95
-477 second 41.85
-478 few 41.45
-479 perfect 41.4
-480 save 41.4
-481 wasn't 41.2
-482 saw 40.9
-483 point 40.7
-484 easy 40.7
-485 bob 40.6
-486 understand 40.55
-487 fight 40.25
-488 rock 40.25
-489 took 40.1
-490 power 39.95
-491 taking 39.6
-492 gets 39.6
-493 minutes 39.55
-494 fire 39.45
-495 till 39.45
-496 full 39.35
-497 beeping 39.35
-498 goes 39.05
-499 until 39.05
-500 change 39.05
-501 move 38.95
-502 bell 38.95
-503 sounds 38.7
-504 dinner 38.65
-505 hit 38.55
-506 hand 38.55
-507 wants 38.45
-508 bed 38.35
-509 pick 38.1
-510 its 37.8
-511 gave 37.75
-512 deal 37.7
-513 supposed 37.7
-514 break 37.6
-515 stand 37.55
-516 humming 37.45
-517 ball 37.45
-518 ringing 37.45
-519 men 37.35
-520 drink 37.25
-521 daddy 37.05
-522 song 37.05
-523 anymore 37.05
-524 uh-oh 36.9
-525 grampa 36.8
-526 news 36.75
-527 means 36.6
-528 water 36.4
-529 needs 36.4
-530 bart's 36.25
-531 brother 36.15
-532 dr 36.1
-533 sleep 35.55
-534 hurt 35.35
-535 set 35.25
-536 times 35.05
-537 bar 35.05
-538 million 35.05
-539 ha 35
-540 married 35
-541 bet 34.95
-542 city 34.8
-543 husband 34.75
-544 gasping 34.65
-545 air 34.55
-546 mm-hmm 34.3
-547 brought 34.3
-548 attention 34.25
-549 quit 34.25
-550 chattering 34.2
-551 sit 34
-552 hands 34
-553 rest 34
-554 alone 33.7
-555 dream 33.6
-556 whatever 33.55
-557 chuckling 33.5
-558 plant 33.45
-559 answer 33.3
-560 learn 33.3
-561 matter 33.2
-562 line 33.1
-563 shouting 32.85
-564 sound 32.8
-565 enjoy 32.75
-566 important 32.7
-567 store 32.6
-568 team 32.55
-569 close 32.4
-570 nelson 32.4
-571 president 32.3
-572 sign 32.25
-573 hours 32.05
-574 principal 31.9
-575 kiss 31.8
-576 death 31.65
-577 drive 31.55
-578 watching 31.5
-579 side 31.45
-580 anyway 31.4
-581 mad 31.4
-582 mine 31.4
-583 apu 31.4
-584 working 31.35
-585 top 31.35
-586 pants 31.2
-587 wonderful 31.2
-588 seems 31.15
-589 quite 31.1
-590 probably 31.1
-591 birthday 31.05
-592 sister 30.95
-593 chance 30.9
-594 test 30.8
-595 trouble 30.8
-596 ice 30.8
-597 poor 30.7
-598 crowd 30.65
-599 he'll 30.65
-600 late 30.55
-601 clown 30.55
-602 itchy 30.5
-603 ago 30.5
-604 country 30.45
-605 dollars 30.4
-606 seymour 30.35
-607 secret 30.3
-608 whoo-hoo 30.25
-609 glad 30.25
-610 box 30.1
-611 case 30.05
-612 ladies 30
-613 inside 30
-614 police 29.95
-615 nobody 29.55
-616 front 29.5
-617 later 29.5
-618 fair 29.45
-619 america 29.4
-620 bus 29.4
-621 happen 29.1
-622 shot 29.05
-623 card 28.8
-624 six 28.75
-625 marriage 28.75
-626 alive 28.75
-627 throw 28.65
-628 won 28.6
-629 except 28.6
-630 exactly 28.5
-631 behind 28.4
-632 eating 28.35
-633 gentlemen 28.3
-634 soon 28.25
-635 women 28.2
-636 walk 28.2
-637 killed 28.05
-638 american 27.9
-639 telling 27.9
-640 question 27.85
-641 high 27.85
-642 bit 27.8
-643 girls 27.8
-644 order 27.75
-645 dance 27.65
-646 shall 27.6
-647 picture 27.45
-648 lenny 27.35
-649 parents 27.25
-650 spend 27.25
-651 candy 27.2
-652 beat 27
-653 ralph 26.95
-654 sick 26.9
-655 ho 26.9
-656 butt 26.9
-657 learned 26.85
-658 person 26.85
-659 clean 26.8
-660 plan 26.7
-661 lives 26.7
-662 yours 26.65
-663 truth 26.6
-664 started 26.45
-665 somebody 26.45
-666 rings 26.35
-667 cat 26.3
-668 send 26.3
-669 catch 26.25
-670 write 26.15
-671 against 26.1
-672 murmuring 26.05
-673 forever 26.05
-674 knows 26.05
-675 far 26
-676 they'll 26
-677 tree 26
-678 child 25.9
-679 good-bye 25.9
-680 different 25.9
-681 fish 25.75
-682 doctor 25.6
-683 fast 25.6
-684 folks 25.6
-685 almost 25.45
-686 terrible 25.45
-687 proud 25.4
-688 snoring 25.3
-689 eight 25.3
-690 tried 25.3
-691 war 25.25
-692 favorite 25.2
-693 scratchy 25.1
-694 laugh 25.05
-695 red 25
-696 earth 25
-697 sideshow 24.95
-698 saved 24.95
-699 barney 24.95
-700 sell 24.9
-701 nuclear 24.85
-702 promise 24.75
-703 teach 24.55
-704 along 24.5
-705 lucky 24.5
-706 wedding 24.5
-707 couple 24.3
-708 it'll 24.3
-709 wiggum 24.3
-710 bucks 24.15
-711 rich 24.15
-712 blood 24.15
-713 worse 24.1
-714 ten 24.05
-715 dogs 24.05
-716 gun 24
-717 future 24
-718 quiet 23.95
-719 throat 23.9
-720 ride 23.9
-721 eye 23.9
-722 date 23.9
-723 horn 23.9
-724 kent 23.85
-725 we'd 23.85
-726 feeling 23.85
-727 half 23.8
-728 less 23.8
-729 ends 23.8
-730 lose 23.7
-731 bought 23.7
-732 living 23.65
-733 moment 23.65
-734 return 23.65
-735 lie 23.6
-736 church 23.55
-737 ahead 23.5
-738 bill 23.45
-739 roll 23.45
-740 blue 23.35
-741 whistle 23.25
-742 human 23.25
-743 laughter 23.2
-744 words 23.2
-745 selma 23.2
-746 pie 23.2
-747 become 23.1
-748 wonder 23.05
-749 state 23
-750 willie 23
-751 body 22.95
-752 outside 22.95
-753 loud 22.95
-754 king 22.85
-755 using 22.85
-756 panting 22.8
-757 machine 22.8
-758 small 22.5
-759 smell 22.5
-760 cream 22.45
-761 hat 22.4
-762 perhaps 22.4
-763 soul 22.25
-764 mouth 22.2
-765 giving 22.2
-766 sobbing 22.2
-767 quick 22.15
-768 seven 22.15
-769 uh-huh 22.15
-770 ohh 22.1
-771 reason 22.05
-772 brain 22.05
-773 paper 22.05
-774 whimpering 22.05
-775 whoo 22
-776 evil 21.95
-777 cold 21.9
-778 instead 21.85
-779 office 21.85
-780 excellent 21.85
-781 dude 21.85
-782 shouldn't 21.8
-783 sweetie 21.8
-784 worst 21.75
-785 fired 21.7
-786 monkey 21.65
-787 hour 21.65
-788 paid 21.55
-789 wear 21.55
-790 act 21.5
-791 floor 21.5
-792 la 21.45
-793 stick 21.45
-794 company 21.4
-795 light 21.4
-796 greatest 21.4
-797 boss 21.4
-798 super 21.35
-799 chorus 21.35
-800 street 21.3
-801 sometimes 21.3
-802 pass 21.3
-803 yelling 21.25
-804 smart 21.25
-805 fault 21.15
-806 join 21.15
-807 safe 21.1
-808 met 21.1
-809 wake 21
-810 relax 21
-811 lousy 21
-812 gay 20.95
-813 honor 20.9
-814 lunch 20.8
-815 books 20.75
-816 turned 20.75
-817 film 20.7
-818 sex 20.65
-819 fact 20.65
-820 takes 20.55
-821 hang 20.55
-822 moe's 20.5
-823 anybody 20.45
-824 ones 20.4
-825 taken 20.35
-826 lisa's 20.3
-827 law 20.3
-828 touch 20.25
-829 either 20.2
-830 aah 20.15
-831 likes 20.15
-832 edna 20.15
-833 bag 20.1
-834 seem 20.05
-835 gas 20
-836 extra 20
-837 running 19.95
-838 feet 19.9
-839 applause 19.9
-840 pull 19.8
-841 step 19.8
-842 present 19.65
-843 luck 19.6
-844 how's 19.45
-845 reading 19.45
-846 leaving 19.45
-847 surprise 19.4
-848 sold 19.3
-849 angry 19.3
-850 star 19.25
-851 gasp 19.25
-852 worth 19.2
-853 piece 19.2
-854 sad 19.2
-855 unless 19.2
-856 speak 19.2
-857 forgot 19.2
-858 bear 19.15
-859 land 19.1
-860 tired 19.1
-861 trip 19.1
-862 space 19.1
-863 sugar 19
-864 homer's 19
-865 crap 19
-866 problems 18.95
-867 drunk 18.95
-868 afford 18.95
-869 blowing 18.9
-870 drop 18.9
-871 known 18.85
-872 club 18.75
-873 thinks 18.75
-874 longer 18.7
-875 key 18.65
-876 drinking 18.65
-877 table 18.65
-878 english 18.65
-879 cake 18.6
-880 one's 18.6
-881 idiot 18.55
-882 shoot 18.5
-883 daughter 18.5
-884 between 18.45
-885 kidding 18.45
-886 clears 18.45
-887 monster 18.4
-888 yo 18.4
-889 certainly 18.35
-890 low 18.15
-891 nose 18.15
-892 calling 18.15
-893 fly 18.1
-894 group 18.1
-895 works 18.1
-896 mayor 18.05
-897 evening 18.05
-898 past 18.05
-899 boring 18.05
-900 letter 18.05
-901 fall 18.05
-902 radio 18
-903 driving 17.95
-904 weren't 17.9
-905 cute 17.9
-906 clear 17.85
-907 white 17.85
-908 movies 17.85
-909 pop 17.85
-910 teacher 17.8
-911 ma'am 17.8
-912 window 17.75
-913 coffee 17.75
-914 worked 17.75
-915 growling 17.7
-916 black 17.65
-917 ass 17.65
-918 horrible 17.65
-919 martin 17.6
-920 himself 17.55
-921 stuck 17.55
-922 happens 17.55
-923 blow 17.55
-924 audience 17.55
-925 choice 17.55
-926 though 17.5
-927 loved 17.45
-928 nuts 17.45
-929 hurry 17.45
-930 seat 17.45
-931 prison 17.4
-932 burn 17.4
-933 gee 17.4
-934 l 17.35
-935 missed 17.35
-936 lou 17.35
-937 died 17.3
-938 heaven 17.3
-939 history 17.3
-940 college 17.25
-941 mm 17.25
-942 doorbell 17.25
-943 cheese 17.25
-944 sort 17.2
-945 wrote 17.2
-946 ring 17.2
-947 wearing 17.2
-948 dreams 17.15
-949 build 17.15
-950 brockman 17.15
-951 straight 17.15
-952 broke 17.1
-953 duff 17.1
-954 art 17
-955 announcer 17
-956 caught 16.95
-957 awesome 16.95
-958 boat 16.9
-959 krabappel 16.85
-960 report 16.85
-961 lise 16.85
-962 ruined 16.8
-963 starting 16.8
-964 questions 16.75
-965 hero 16.75
-966 absolutely 16.75
-967 age 16.7
-968 sense 16.7
-969 public 16.7
-970 lesson 16.6
-971 shoes 16.6
-972 fresh 16.55
-973 plus 16.55
-974 nah 16.55
-975 toilet 16.5
-976 camera 16.5
-977 trust 16.5
-978 chair 16.5
-979 gift 16.45
-980 visit 16.45
-981 grow 16.45
-982 months 16.4
-983 pain 16.4
-984 milk 16.35
-985 tickets 16.35
-986 park 16.35
-987 deserve 16.35
-988 cost 16.3
-989 share 16.3
-990 asked 16.25
-991 bird 16.25
-992 dad's 16.25
-993 knock 16.25
-994 crying 16.2
-995 meeting 16.2
-996 vote 16.2
-997 sea 16.15
-998 glass 16.15
-999 service 16.15
-1000 blows 16.1
-1001 swear 16.1
-1002 breakfast 16.05
-1003 ahh 16
-1004 suppose 16
-1005 safety 15.95
-1006 system 15.95
-1007 yea 15.95
-1008 peace 15.95
-1009 clothes 15.9
-1010 sing 15.9
-1011 somewhere 15.9
-1012 court 15.9
-1013 weeks 15.9
-1014 pizza 15.85
-1015 tough 15.85
-1016 band 15.8
-1017 buddy 15.8
-1018 rather 15.8
-1019 meat 15.75
-1020 babies 15.75
-1021 sent 15.7
-1022 early 15.7
-1023 third 15.7
-1024 changed 15.7
-1025 local 15.65
-1026 realize 15.65
-1027 meant 15.65
-1028 rules 15.6
-1029 chocolate 15.6
-1030 patty 15.55
-1031 science 15.55
-1032 crime 15.5
-1033 french 15.5
-1034 geez 15.5
-1035 waiting 15.5
-1036 theme 15.5
-1037 finish 15.5
-1038 follow 15.45
-1039 felt 15.45
-1040 bowl 15.4
-1041 summer 15.35
-1042 blah 15.3
-1043 missing 15.3
-1044 field 15.3
-1045 gives 15.3
-1046 bite 15.2
-1047 magic 15.2
-1048 marry 15.15
-1049 lots 15.15
-1050 animals 15.15
-1051 loves 15.15
-1052 tongue 15.15
-1053 ha-ha 15.1
-1054 slow 15.1
-1055 speaking 15.1
-1056 ay 15.05
-1057 born 15.05
-1058 respect 15.05
-1059 cash 15.05
-1060 green 14.95
-1061 cover 14.95
-1062 deep 14.95
-1063 comic 14.95
-1064 chicken 14.9
-1065 punch 14.85
-1066 carl 14.85
-1067 fell 14.8
-1068 taste 14.8
-1069 mistake 14.75
-1070 seeing 14.7
-1071 kick 14.7
-1072 fool 14.7
-1073 charge 14.7
-1074 forgive 14.7
-1075 weird 14.7
-1076 month 14.65
-1077 ate 14.65
-1078 judge 14.65
-1079 killing 14.6
-1080 steal 14.6
-1081 able 14.6
-1082 moaning 14.6
-1083 honking 14.55
-1084 although 14.55
-1085 fear 14.55
-1086 solo 14.55
-1087 taught 14.5
-1088 wind 14.5
-1089 teeth 14.5
-1090 muttering 14.5
-1091 student 14.4
-1092 fill 14.4
-1093 building 14.4
-1094 they've 14.35
-1095 bunch 14.35
-1096 grade 14.3
-1097 bottle 14.3
-1098 handle 14.3
-1099 exciting 14.3
-1100 hundred 14.3
-1101 sitting 14.3
-1102 awful 14.25
-1103 video 14.2
-1104 control 14.2
-1105 blame 14.2
-1106 santa 14.2
-1107 suit 14.15
-1108 none 14.15
-1109 center 14.15
-1110 queen 14.1
-1111 students 14.1
-1112 entire 14.1
-1113 sun 14.05
-1114 raise 14.05
-1115 scared 14.05
-1116 today's 14.05
-1117 ew 14.05
-1118 names 14
-1119 count 14
-1120 moon 14
-1121 dollar 14
-1122 explain 14
-1123 credit 14
-1124 grand 13.95
-1125 during 13.9
-1126 simple 13.9
-1127 note 13.9
-1128 bathroom 13.9
-1129 cannot 13.9
-1130 jerk 13.9
-1131 nine 13.85
-1132 loser 13.85
-1133 busy 13.85
-1134 & 13.85
-1135 whistling 13.85
-1136 winner 13.8
-1137 captain 13.8
-1138 suck 13.8
-1139 single 13.75
-1140 hungry 13.75
-1141 shirt 13.75
-1142 dress 13.7
-1143 trick 13.7
-1144 ground 13.65
-1145 price 13.65
-1146 owe 13.65
-1147 admit 13.65
-1148 stole 13.6
-1149 lis 13.6
-1150 murder 13.6
-1151 siren 13.6
-1152 that'll 13.6
-1153 jazzy 13.6
-1154 list 13.55
-1155 whimpers 13.55
-1156 animal 13.55
-1157 short 13.55
-1158 santa's 13.5
-1159 yep 13.5
-1160 walking 13.5
-1161 agree 13.45
-1162 holy 13.45
-1163 double 13.45
-1164 wall 13.45
-1165 dump 13.4
-1166 road 13.4
-1167 afternoon 13.35
-1168 tape 13.35
-1169 normal 13.3
-1170 shelbyville 13.3
-1171 garbage 13.3
-1172 quimby 13.3
-1173 bye 13.3
-1174 otto 13.3
-1175 record 13.25
-1176 troy 13.25
-1177 gold 13.25
-1178 giant 13.25
-1179 popular 13.25
-1180 vacation 13.2
-1181 broken 13.2
-1182 reverend 13.2
-1183 careful 13.2
-1184 named 13.2
-1185 prove 13.15
-1186 original 13.15
-1187 putting 13.15
-1188 ticket 13.1
-1189 congratulations 13.1
-1190 joke 13.1
-1191 fellow 13.1
-1192 o/ 13.1
-1193 george 13.1
-1194 paying 13.05
-1195 fix 13.05
-1196 seconds 13.05
-1197 cry 13
-1198 gotten 13
-1199 shop 12.95
-1200 football 12.9
-1201 scoffs 12.9
-1202 smoke 12.85
-1203 interesting 12.85
-1204 computer 12.85
-1205 sunday 12.8
-1206 amazing 12.75
-1207 dangerous 12.75
-1208 character 12.75
-1209 jail 12.75
-1210 pig 12.75
-1211 dumb 12.75
-1212 channel 12.7
-1213 smells 12.7
-1214 train 12.7
-1215 giggling 12.7
-1216 lovely 12.65
-1217 feelings 12.65
-1218 hole 12.65
-1219 ugly 12.65
-1220 interested 12.6
-1221 asking 12.6
-1222 joe 12.6
-1223 larry 12.6
-1224 sleeping 12.55
-1225 totally 12.5
-1226 truly 12.5
-1227 hall 12.5
-1228 message 12.5
-1229 jazz 12.45
-1230 cents 12.45
-1231 serious 12.45
-1232 cell 12.45
-1233 romantic 12.4
-1234 plays 12.4
-1235 action 12.4
-1236 final 12.4
-1237 guy's 12.4
-1238 weekend 12.35
-1239 world's 12.35
-1240 wailing 12.35
-1241 helper 12.35
-1242 biggest 12.35
-1243 push 12.35
-1244 fake 12.3
-1245 dare 12.3
-1246 bank 12.3
-1247 buzzing 12.3
-1248 springfield's 12.25
-1249 alarm 12.25
-1250 apple 12.25
-1251 yells 12.25
-1252 angel 12.25
-1253 spent 12.25
-1254 fighting 12.2
-1255 shows 12.2
-1256 waste 12.2
-1257 wine 12.2
-1258 personal 12.2
-1259 fox 12.15
-1260 stars 12.15
-1261 treat 12.15
-1262 promised 12.15
-1263 squeaking 12.1
-1264 given 12.1
-1265 weight 12.05
-1266 middle 12.05
-1267 genius 12.05
-1268 john 12.05
-1269 baseball 12.05
-1270 honest 12
-1271 saturday 12
-1272 innocent 12
-1273 bowling 11.95
-1274 form 11.95
-1275 sucks 11.95
-1276 army 11.95
-1277 hide 11.95
-1278 calm 11.9
-1279 ugh 11.9
-1280 favor 11.9
-1281 race 11.9
-1282 usually 11.9
-1283 de 11.85
-1284 passed 11.85
-1285 snow 11.8
-1286 spot 11.8
-1287 lived 11.8
-1288 abe 11.8
-1289 island 11.8
-1290 museum 11.8
-1291 engine 11.8
-1292 dark 11.8
-1293 outta 11.75
-1294 lead 11.7
-1295 delicious 11.7
-1296 keys 11.7
-1297 finished 11.65
-1298 uncle 11.65
-1299 famous 11.65
-1300 closed 11.65
-1301 o 11.65
-1302 following 11.65
-1303 shame 11.65
-1304 plane 11.6
-1305 hug 11.6
-1306 nothin' 11.6
-1307 bible 11.6
-1308 pal 11.55
-1309 naked 11.55
-1310 cartoon 11.55
-1311 sports 11.55
-1312 offer 11.55
-1313 station 11.55
-1314 dirty 11.5
-1315 worried 11.5
-1316 upon 11.5
-1317 figure 11.45
-1318 government 11.45
-1319 stopped 11.45
-1320 built 11.45
-1321 tour 11.45
-1322 cheap 11.4
-1323 rid 11.4
-1324 dancing 11.4
-1325 goin' 11.4
-1326 pool 11.35
-1327 completely 11.35
-1328 magazine 11.35
-1329 '' 11.35
-1330 precious 11.35
-1331 kissing 11.35
-1332 oil 11.3
-1333 created 11.3
-1334 feels 11.3
-1335 foot 11.25
-1336 corn 11.25
-1337 tony 11.25
-1338 scary 11.25
-1339 ways 11.25
-1340 planet 11.2
-1341 horse 11.2
-1342 advice 11.2
-1343 sandwich 11.2
-1344 professor 11.15
-1345 strong 11.15
-1346 fit 11.15
-1347 how'd 11.15
-1348 strike 11.15
-1349 arm 11.1
-1350 sale 11.1
-1351 whose 11.1
-1352 god's 11.1
-1353 spirit 11.1
-1354 plenty 11.1
-1355 photo 11.1
-1356 truck 11.1
-1357 father's 11.05
-1358 cheer 11.05
-1359 legs 11.05
-1360 she'll 11.05
-1361 private 11.05
-1362 size 11.05
-1363 listening 11
-1364 played 11
-1365 writing 11
-1366 grave 10.95
-1367 program 10.95
-1368 decided 10.95
-1369 should've 10.95
-1370 stomach 10.95
-1371 stacy 10.9
-1372 elephant 10.9
-1373 mail 10.9
-1374 faster 10.9
-1375 moans 10.9
-1376 warm 10.9
-1377 kitchen 10.85
-1378 kwik-e-mart 10.85
-1379 cookies 10.85
-1380 poison 10.8
-1381 needed 10.8
-1382 upset 10.75
-1383 others 10.75
-1384 round 10.75
-1385 paint 10.75
-1386 beloved 10.75
-1387 destroy 10.75
-1388 blind 10.7
-1389 moving 10.7
-1390 neck 10.7
-1391 according 10.7
-1392 hasn't 10.7
-1393 stealing 10.7
-1394 tom 10.7
-1395 starts 10.7
-1396 washington 10.7
-1397 calls 10.65
-1398 fourth 10.65
-1399 daddy's 10.65
-1400 robot 10.65
-1401 invented 10.6
-1402 danger 10.55
-1403 button 10.55
-1404 games 10.55
-1405 tie 10.55
-1406 ' 10.55
-1407 ran 10.55
-1408 expect 10.55
-1409 smile 10.55
-1410 happening 10.55
-1411 juice 10.55
-1412 begin 10.55
-1413 dig 10.5
-1414 stops 10.5
-1415 season 10.5
-1416 heads 10.45
-1417 toy 10.45
-1418 leader 10.45
-1419 b 10.4
-1420 possibly 10.4
-1421 ourselves 10.4
-1422 beauty 10.35
-1423 eggs 10.35
-1424 wild 10.35
-1425 liked 10.35
-1426 shake 10.35
-1427 st 10.35
-1428 lights 10.35
-1429 revenge 10.3
-1430 nature 10.3
-1431 security 10.3
-1432 language 10.3
-1433 episode 10.25
-1434 accent 10.2
-1435 heh 10.2
-1436 experience 10.2
-1437 fortune 10.15
-1438 zero 10.15
-1439 lying 10.15
-1440 gum 10.15
-1441 keeping 10.15
-1442 aye 10.15
-1443 feed 10.15
-1444 across 10.15
-1445 silly 10.15
-1446 hospital 10.15
-1447 everywhere 10.1
-1448 sauce 10.1
-1449 handsome 10.05
-1450 butter 10.05
-1451 freedom 10.05
-1452 board 10
-1453 miracle 10
-1454 cable 10
-1455 goodness 10
-1456 appreciate 10
-1457 hibbert 10
-1458 common 10
-1459 ¶ 9.95
-1460 media 9.95
-1461 america's 9.95
-1462 bread 9.95
-1463 yellow 9.95
-1464 code 9.95
-1465 settle 9.9
-1466 doin' 9.9
-1467 flying 9.9
-1468 leg 9.9
-1469 da 9.9
-1470 filled 9.9
-1471 fancy 9.9
-1472 bees 9.85
-1473 growls 9.85
-1474 everyone's 9.85
-1475 ye 9.85
-1476 helping 9.8
-1477 cards 9.8
-1478 comedy 9.8
-1479 neighbor 9.8
-1480 aunt 9.8
-1481 nervous 9.75
-1482 arms 9.75
-1483 homework 9.75
-1484 saving 9.75
-1485 fruit 9.75
-1486 mister 9.75
-1487 jump 9.75
-1488 wha 9.7
-1489 especially 9.7
-1490 year's 9.7
-1491 knife 9.7
-1492 he'd 9.65
-1493 twice 9.65
-1494 wet 9.65
-1495 malibu 9.65
-1496 award 9.65
-1497 mother's 9.65
-1498 accept 9.65
-1499 north 9.65
-1500 spending 9.6
-1501 shouts 9.6
-1502 maude 9.6
-1503 man's 9.6
-1504 squealing 9.6
-1505 monty 9.6
-1506 classic 9.6
-1507 television 9.6
-1508 contest 9.55
-1509 officer 9.55
-1510 beach 9.55
-1511 girlfriend 9.55
-1512 apologize 9.55
-1513 jesus 9.55
-1514 bigger 9.5
-1515 barking 9.5
-1516 cow 9.5
-1517 stories 9.5
-1518 snake 9.45
-1519 national 9.45
-1520 cars 9.45
-1521 would've 9.4
-1522 gem 9.4
-1523 choose 9.4
-1524 wondering 9.4
-1525 hollywood 9.4
-1526 bottom 9.4
-1527 montgomery 9.4
-1528 guns 9.35
-1529 mary 9.35
-1530 holding 9.35
-1531 remind 9.35
-1532 internet 9.3
-1533 stink 9.25
-1534 drugs 9.25
-1535 buck 9.25
-1536 dying 9.25
-1537 miles 9.25
-1538 allowed 9.25
-1539 energy 9.2
-1540 cruel 9.2
-1541 wash 9.2
-1542 aaah 9.2
-1543 coughing 9.2
-1544 accident 9.2
-1545 complete 9.15
-1546 mel 9.15
-1547 notice 9.15
-1548 powerful 9.15
-1549 cup 9.15
-1550 thousand 9.15
-1551 restaurant 9.1
-1552 mess 9.1
-1553 pictures 9.1
-1554 career 9.1
-1555 rod 9.1
-1556 yelps 9.1
-1557 besides 9.1
-1558 chittering 9.1
-1559 fans 9.1
-1560 ship 9.05
-1561 mama 9.05
-1562 pounds 9.05
-1563 radioactive 9.05
-1564 male 9.05
-1565 rat 9.05
-1566 van 9.05
-1567 grab 9.05
-1568 near 9.05
-1569 spit 9.05
-1570 elementary 9.05
-1571 standing 9
-1572 darling 9
-1573 keeps 9
-1574 prize 9
-1575 mommy 9
-1576 pleasure 9
-1577 losers 9
-1578 rule 9
-1579 series 9
-1580 adult 9
-1581 bones 9
-1582 glasses 9
-1583 tight 9
-1584 pork 9
-1585 someday 8.95
-1586 wheel 8.95
-1587 became 8.95
-1588 what'd 8.95
-1589 looked 8.9
-1590 buying 8.9
-1591 yesterday 8.9
-1592 doll 8.9
-1593 regular 8.9
-1594 clock 8.9
-1595 egg 8.9
-1596 license 8.9
-1597 realized 8.9
-1598 cops 8.85
-1599 mcclure 8.85
-1600 york 8.85
-1601 cartoons 8.85
-1602 fingers 8.85
-1603 turning 8.85
-1604 possible 8.85
-1605 princess 8.85
-1606 project 8.8
-1607 commercial 8.8
-1608 heck 8.75
-1609 ridiculous 8.75
-1610 scene 8.75
-1611 learning 8.75
-1612 ideas 8.7
-1613 protect 8.7
-1614 library 8.7
-1615 invited 8.7
-1616 brilliant 8.7
-1617 natural 8.7
-1618 trash 8.7
-1619 nerd 8.7
-1620 camp 8.65
-1621 factory 8.65
-1622 lies 8.65
-1623 bless 8.65
-1624 area 8.65
-1625 anywhere 8.65
-1626 lock 8.65
-1627 devil 8.6
-1628 guard 8.6
-1629 cares 8.6
-1630 screw 8.6
-1631 letters 8.6
-1632 model 8.6
-1633 yay 8.55
-1634 nope 8.55
-1635 chinese 8.55
-1636 americans 8.55
-1637 capital 8.55
-1638 sexy 8.55
-1639 insurance 8.55
-1640 finger 8.55
-1641 k 8.55
-1642 loving 8.55
-1643 spare 8.5
-1644 empty 8.5
-1645 where'd 8.5
-1646 tune 8.5
-1647 halloween 8.5
-1648 continue 8.45
-1649 someone's 8.45
-1650 chalmers 8.45
-1651 balls 8.45
-1652 violence 8.45
-1653 dry 8.45
-1654 freak 8.45
-1655 guest 8.45
-1656 pony 8.45
-1657 'bout 8.4
-1658 brown 8.4
-1659 lazy 8.4
-1660 score 8.4
-1661 sky 8.4
-1662 mountain 8.35
-1663 pa 8.35
-1664 warn 8.35
-1665 festival 8.35
-1666 level 8.35
-1667 piano 8.35
-1668 total 8.35
-1669 parking 8.35
-1670 saxophone 8.35
-1671 cop 8.35
-1672 force 8.3
-1673 situation 8.3
-1674 operation 8.3
-1675 professional 8.3
-1676 due 8.3
-1677 press 8.3
-1678 tip 8.25
-1679 bother 8.25
-1680 speech 8.25
-1681 kept 8.25
-1682 yard 8.25
-1683 papa 8.25
-1684 health 8.25
-1685 turkey 8.25
-1686 pretend 8.25
-1687 treasure 8.25
-1688 community 8.2
-1689 guilty 8.2
-1690 ma 8.2
-1691 junk 8.2
-1692 birds 8.2
-1693 clearly 8.2
-1694 switch 8.2
-1695 opening 8.2
-1696 hurts 8.15
-1697 could've 8.15
-1698 legal 8.15
-1699 dirt 8.15
-1700 rats 8.15
-1701 jobs 8.15
-1702 master 8.15
-1703 sweetheart 8.1
-1704 excited 8.1
-1705 krusty's 8.1
-1706 faith 8.1
-1707 scream 8.1
-1708 threw 8.05
-1709 selling 8.05
-1710 closer 8.05
-1711 plastic 8.05
-1712 everything's 8.05
-1713 ding 8.05
-1714 track 8.05
-1715 d 8.05
-1716 arrest 8.05
-1717 brings 8.05
-1718 darn 8.05
-1719 heavy 8.05
-1720 study 8
-1721 bully 8
-1722 information 8
-1723 turns 8
-1724 mystery 8
-1725 jimbo 8
-1726 covered 8
-1727 support 7.95
-1728 silence 7.95
-1729 sergeant 7.95
-1730 held 7.95
-1731 moved 7.95
-1732 whee 7.95
-1733 j 7.95
-1734 children's 7.9
-1735 seriously 7.9
-1736 electric 7.9
-1737 page 7.9
-1738 pet 7.9
-1739 salad 7.9
-1740 bone 7.9
-1741 interest 7.9
-1742 jack 7.9
-1743 burning 7.9
-1744 responsible 7.85
-1745 square 7.85
-1746 impossible 7.85
-1747 color 7.85
-1748 losing 7.85
-1749 partner 7.85
-1750 screech 7.85
-1751 ba 7.8
-1752 skin 7.8
-1753 spring 7.75
-1754 pink 7.75
-1755 shrieks 7.75
-1756 gimme 7.75
-1757 allow 7.75
-1758 imagine 7.75
-1759 friday 7.75
-1760 trapped 7.75
-1761 tax 7.75
-1762 ¶ 7.7
-1763 son's 7.7
-1764 bringing 7.7
-1765 electricity 7.7
-1766 steak 7.7
-1767 loudly 7.7
-1768 muffled 7.7
-1769 whirring 7.7
-1770 tea 7.7
-1771 couch 7.7
-1772 mood 7.65
-1773 burger 7.65
-1774 ray 7.65
-1775 testing 7.65
-1776 soup 7.65
-1777 higher 7.65
-1778 department 7.65
-1779 certain 7.65
-1780 whenever 7.65
-1781 states 7.6
-1782 fabulous 7.6
-1783 leaves 7.6
-1784 attitude 7.6
-1785 whispering 7.6
-1786 christian 7.6
-1787 member 7.6
-1788 oops 7.6
-1789 roof 7.6
-1790 footsteps 7.6
-1791 caramba 7.6
-1792 fan 7.6
-1793 fellas 7.6
-1794 mall 7.55
-1795 pair 7.55
-1796 crack 7.55
-1797 goodbye 7.55
-1798 poochie 7.55
-1799 france 7.55
-1800 falling 7.55
-1801 peanut 7.55
-1802 lovejoy 7.55
-1803 mom's 7.5
-1804 ghost 7.5
-1805 panic 7.5
-1806 gettin' 7.5
-1807 sigh 7.5
-1808 blues 7.5
-1809 religion 7.5
-1810 bouvier 7.5
-1811 sisters 7.45
-1812 surprised 7.45
-1813 insane 7.45
-1814 picked 7.45
-1815 gross 7.45
-1816 mark 7.45
-1817 suckers 7.45
-1818 south 7.45
-1819 shopping 7.45
-1820 booze 7.4
-1821 explosion 7.4
-1822 s 7.4
-1823 thoughts 7.4
-1824 desk 7.4
-1825 smoking 7.4
-1826 bath 7.4
-1827 behold 7.4
-1828 noise 7.4
-1829 hanging 7.4
-1830 league 7.4
-1831 conversation 7.4
-1832 numbers 7.4
-1833 older 7.4
-1834 duck 7.35
-1835 hm 7.35
-1836 customers 7.35
-1837 further 7.35
-1838 yell 7.35
-1839 garage 7.35
-1840 sighing 7.35
-1841 hiding 7.35
-1842 ocean 7.35
-1843 acting 7.35
-1844 taxes 7.35
-1845 duty 7.35
-1846 themselves 7.35
-1847 bacon 7.35
-1848 employee 7.3
-1849 flag 7.3
-1850 phony 7.3
-1851 wives 7.3
-1852 cause 7.3
-1853 presents 7.3
-1854 general 7.3
-1855 rent 7.3
-1856 odd 7.3
-1857 cook 7.3
-1858 something's 7.3
-1859 success 7.25
-1860 difference 7.25
-1861 ''i 7.25
-1862 expensive 7.25
-1863 pure 7.25
-1864 figured 7.25
-1865 tale 7.25
-1866 giggles 7.25
-1867 county 7.25
-1868 simpson's 7.2
-1869 neighborhood 7.2
-1870 perfectly 7.2
-1871 ours 7.2
-1872 strange 7.2
-1873 hoover 7.2
-1874 sucker 7.2
-1875 lines 7.2
-1876 release 7.2
-1877 underwear 7.2
-1878 clicks 7.2
-1879 society 7.2
-1880 apart 7.2
-1881 pile 7.2
-1882 bike 7.2
-1883 potato 7.2
-1884 written 7.15
-1885 match 7.15
-1886 lied 7.15
-1887 kinda 7.15
-1888 thy 7.15
-1889 stage 7.15
-1890 reach 7.15
-1891 solve 7.15
-1892 smooth 7.15
-1893 sight 7.15
-1894 superintendent 7.15
-1895 boo 7.15
-1896 load 7.15
-1897 prepare 7.15
-1898 illegal 7.1
-1899 lay 7.1
-1900 meaning 7.1
-1901 buried 7.1
-1902 network 7.1
-1903 helen 7.1
-1904 math 7.1
-1905 noticed 7.1
-1906 orange 7.1
-1907 sport 7.1
-1908 witch 7.1
-1909 woo-hoo 7.1
-1910 ears 7.05
-1911 hearing 7.05
-1912 sniffing 7.05
-1913 chop 7.05
-1914 hip 7.05
-1915 shoe 7.05
-1916 planning 7.05
-1917 above 7.05
-1918 wise 7.05
-1919 escape 7.05
-1920 chewing 7
-1921 bridge 7
-1922 hired 7
-1923 winning 7
-1924 drug 6.95
-1925 hadn't 6.95
-1926 beans 6.95
-1927 split 6.95
-1928 rocks 6.95
-1929 clamoring 6.95
-1930 organ 6.95
-1931 frank 6.95
-1932 parade 6.95
-1933 bat 6.9
-1934 issue 6.9
-1935 celebrate 6.9
-1936 tiny 6.9
-1937 chapter 6.9
-1938 happiness 6.9
-1939 lonely 6.9
-1940 penny 6.9
-1941 pack 6.9
-1942 places 6.9
-1943 practice 6.9
-1944 closet 6.9
-1945 chomping 6.9
-1946 education 6.9
-1947 female 6.9
-1948 gym 6.85
-1949 detention 6.85
-1950 tells 6.85
-1951 killer 6.85
-1952 serve 6.85
-1953 belches 6.85
-1954 disco 6.85
-1955 stolen 6.85
-1956 neither 6.85
-1957 chanting 6.85
-1958 grease 6.85
-1959 consider 6.8
-1960 driver 6.8
-1961 crash 6.8
-1962 rumbling 6.8
-1963 coughs 6.8
-1964 reminds 6.8
-1965 healthy 6.8
-1966 bomb 6.8
-1967 they'd 6.8
-1968 harder 6.8
-1969 brothers 6.8
-1970 inspector 6.8
-1971 england 6.8
-1972 forward 6.8
-1973 c 6.8
-1974 cleaning 6.8
-1975 map 6.8
-1976 spy 6.75
-1977 spread 6.75
-1978 narrator 6.75
-1979 subject 6.75
-1980 tall 6.75
-1981 evidence 6.75
-1982 search 6.75
-1983 traffic 6.75
-1984 definitely 6.75
-1985 merry 6.75
-1986 ballet 6.75
-1987 breaking 6.75
-1988 collection 6.7
-1989 reward 6.7
-1990 teachers 6.7
-1991 scare 6.7
-1992 entertainment 6.7
-1993 wwwopensubtitlesorg 6.7
-1994 yourselves 6.7
-1995 anniversary 6.7
-1996 prepared 6.7
-1997 beef 6.7
-1998 ad 6.7
-1999 eww 6.7
-2000 rubber 6.65
-2001 schools 6.65
-2002 bye-bye 6.65
-2003 metal 6.65
-2004 itself 6.65
-2005 hearts 6.65
-2006 failed 6.65
-2007 mighty 6.65
-2008 brains 6.65
-2009 colonel 6.65
-2010 major 6.6
-2011 blaring 6.6
-2012 onto 6.6
-2013 powers 6.6
-2014 ear 6.6
-2015 alcohol 6.6
-2016 indeed 6.6
-2017 social 6.6
-2018 pills 6.6
-2019 lately 6.6
-2020 gambling 6.6
-2021 answers 6.6
-2022 pipe 6.6
-2023 bullies 6.6
-2024 thee 6.6
-2025 you| 6.6
-2026 lookin' 6.6
-2027 blimp 6.55
-2028 cookie 6.55
-2029 costume 6.55
-2030 plow 6.55
-2031 pardon 6.55
-2032 manager 6.55
-2033 blew 6.55
-2034 robots 6.55
-2035 i-i 6.55
-2036 tub 6.5
-2037 trade 6.5
-2038 memory 6.5
-2039 assistant 6.5
-2040 unfortunately 6.5
-2041 battle 6.5
-2042 steve 6.5
-2043 carry 6.5
-2044 cats 6.5
-2045 attack 6.5
-2046 lame 6.45
-2047 asleep 6.45
-2048 knocking 6.45
-2049 enter 6.45
-2050 theater 6.45
-2051 todd 6.45
-2052 sticks 6.45
-2053 chosen 6.45
-2054 woods 6.45
-2055 basketball 6.45
-2056 boxes 6.4
-2057 johnny 6.4
-2058 training 6.4
-2059 belt 6.4
-2060 bush 6.4
-2061 cigarettes 6.4
-2062 lawn 6.4
-2063 david 6.4
-2064 several 6.4
-2065 dessert 6.4
-2066 speed 6.4
-2067 british 6.4
-2068 lurleen 6.4
-2069 successful 6.35
-2070 reached 6.35
-2071 brakes 6.35
-2072 weak 6.35
-2073 transcript 6.35
-2074 runs 6.35
-2075 prank 6.35
-2076 apartment 6.35
-2077 name's 6.35
-2078 player 6.35
-2079 boyfriend 6.35
-2080 simply 6.35
-2081 peanuts 6.35
-2082 growing 6.35
-2083 dings 6.35
-2084 mate 6.35
-2085 value 6.35
-2086 medicine 6.35
-2087 lottery 6.35
-2088 beating 6.3
-2089 sector 6.3
-2090 doughnuts 6.3
-2091 often 6.3
-2092 invite 6.3
-2093 cap 6.3
-2094 monday 6.3
-2095 weather 6.3
-2096 flight 6.3
-2097 irish 6.3
-2098 liquor 6.3
-2099 plate 6.3
-2100 version 6.3
-2101 discuss 6.3
-2102 heat 6.3
-2103 row 6.3
-2104 soft 6.3
-2105 river 6.3
-2106 people's 6.3
-2107 mcbain 6.3
-2108 fail 6.25
-2109 wheels 6.25
-2110 express 6.25
-2111 decent 6.25
-2112 eve 6.25
-2113 talkin' 6.25
-2114 slurping 6.25
-2115 bust 6.25
-2116 hotel 6.25
-2117 nurse 6.25
-2118 grumbling 6.25
-2119 doubt 6.25
-2120 locked 6.25
-2121 golden 6.25
-2122 toys 6.25
-2123 ancient 6.25
-2124 lemon 6.2
-2125 foreign 6.2
-2126 faces 6.2
-2127 secrets 6.2
-2128 medical 6.2
-2129 rights 6.2
-2130 doc 6.2
-2131 lake 6.2
-2132 sometime 6.2
-2133 post 6.2
-2134 murdered 6.2
-2135 amen 6.2
-2136 al 6.2
-2137 tastes 6.2
-2138 add 6.2
-2139 behavior 6.2
-2140 percent 6.2
-2141 main 6.2
-2142 whip 6.15
-2143 beginning 6.15
-2144 usa 6.15
-2145 latest 6.15
-2146 march 6.15
-2147 correct 6.15
-2148 memories 6.15
-2149 wave 6.15
-2150 lower 6.15
-2151 peach 6.15
-2152 skinner's 6.15
-2153 exclaiming 6.15
-2154 property 6.15
-2155 decision 6.15
-2156 gosh 6.15
-2157 regret 6.15
-2158 meal 6.1
-2159 throwing 6.1
-2160 doomed 6.1
-2161 within 6.1
-2162 minds 6.1
-2163 cast 6.1
-2164 awfully 6.1
-2165 emergency 6.1
-2166 draw 6.1
-2167 straining 6.1
-2168 m 6.1
-2169 grandma 6.1
-2170 fifth 6.1
-2171 german 6.1
-2172 block 6.05
-2173 brave 6.05
-2174 tooth 6.05
-2175 nap 6.05
-2176 skip 6.05
-2177 item 6.05
-2178 bears 6.05
-2179 pathetic 6.05
-2180 somehow 6.05
-2181 remain 6.05
-2182 mob 6.05
-2183 rocket 6.05
-2184 shower 6.05
-2185 japanese 6
-2186 slams 6
-2187 gulping 6
-2188 monkeys 6
-2189 solution 6
-2190 willing 6
-2191 whale 6
-2192 quickly 6
-2193 warning 6
-2194 mention 6
-2195 led 6
-2196 aha 6
-2197 large 6
-2198 among 6
-2199 dating 6
-2200 twins 6
-2201 based 6
-2202 groan 6
-2203 arr 6
-2204 moron 6
-2205 kid's 5.95
-2206 rescue 5.95
-2207 gulps 5.95
-2208 tear 5.95
-2209 points 5.95
-2210 easier 5.95
-2211 dreamed 5.95
-2212 enemy 5.95
-2213 borrow 5.95
-2214 millions 5.95
-2215 customer 5.95
-2216 clicking 5.95
-2217 pumpkin 5.95
-2218 difficult 5.9
-2219 basement 5.9
-2220 criminal 5.9
-2221 jury 5.9
-2222 justice 5.9
-2223 mouse 5.9
-2224 former 5.9
-2225 begins 5.9
-2226 agreed 5.9
-2227 toast 5.9
-2228 laundry 5.9
-2229 teaching 5.9
-2230 tied 5.9
-2231 puzzle 5.9
-2232 roger 5.9
-2233 songs 5.9
-2234 marge's 5.85
-2235 hardly 5.85
-2236 statue 5.85
-2237 clever 5.85
-2238 bored 5.85
-2239 funeral 5.85
-2240 sinister 5.85
-2241 thousands 5.85
-2242 charity 5.85
-2243 embarrassing 5.85
-2244 prefer 5.85
-2245 chips 5.85
-2246 rain 5.85
-2247 alley 5.85
-2248 lifetime 5.85
-2249 aside 5.85
-2250 prince 5.85
-2251 guts 5.8
-2252 zone 5.8
-2253 finding 5.8
-2254 forest 5.8
-2255 tavern 5.8
-2256 enjoying 5.8
-2257 huge 5.8
-2258 modern 5.8
-2259 teddy 5.8
-2260 relationship 5.8
-2261 hook 5.8
-2262 tears 5.8
-2263 breath 5.8
-2264 destroyed 5.8
-2265 choking 5.8
-2266 discovered 5.8
-2267 charlie 5.8
-2268 ii 5.8
-2269 touched 5.75
-2270 jokes 5.75
-2271 seemed 5.75
-2272 opened 5.75
-2273 exercise 5.75
-2274 address 5.75
-2275 monsters 5.75
-2276 belly 5.75
-2277 lips 5.75
-2278 ham 5.75
-2279 vampire 5.75
-2280 birth 5.75
-2281 banana 5.75
-2282 curse 5.75
-2283 letting 5.75
-2284 challenge 5.75
-2285 flavor 5.7
-2286 gunshot 5.7
-2287 exclaims 5.7
-2288 suggest 5.7
-2289 crush 5.7
-2290 rage 5.7
-2291 average 5.7
-2292 example 5.7
-2293 shock 5.7
-2294 records 5.7
-2295 jar 5.7
-2296 pour 5.7
-2297 whoops 5.7
-2298 forced 5.7
-2299 hilarious 5.7
-2300 drove 5.7
-2301 lemonade 5.7
-2302 e 5.7
-2303 bald 5.65
-2304 comin' 5.65
-2305 budget 5.65
-2306 sniffs 5.65
-2307 players 5.65
-2308 screwed 5.65
-2309 r 5.65
-2310 concert 5.65
-2311 flowers 5.65
-2312 united 5.65
-2313 fanfare 5.65
-2314 champagne 5.65
-2315 changes 5.65
-2316 cruise 5.65
-2317 sack 5.65
-2318 pregnant 5.65
-2319 knowing 5.65
-2320 picking 5.65
-2321 grandpa 5.6
-2322 bills 5.6
-2323 chain 5.6
-2324 airport 5.6
-2325 changing 5.6
-2326 fallen 5.6
-2327 fella 5.6
-2328 nicely 5.6
-2329 comfortable 5.6
-2330 whoever 5.6
-2331 boy's 5.6
-2332 nobody's 5.6
-2333 breathe 5.6
-2334 mission 5.6
-2335 earned 5.6
-2336 imitating 5.6
-2337 shooting 5.6
-2338 syrup 5.6
-2339 hits 5.6
-2340 dropped 5.55
-2341 ruin 5.55
-2342 neighbors 5.55
-2343 stinks 5.55
-2344 eaten 5.55
-2345 buzz 5.55
-2346 diet 5.55
-2347 stampy 5.55
-2348 nerds 5.55
-2349 pulled 5.55
-2350 shine 5.55
-2351 reality 5.55
-2352 paul 5.55
-2353 hoping 5.5
-2354 sync 5.5
-2355 films 5.5
-2356 remembered 5.5
-2357 whistles 5.5
-2358 hereby 5.5
-2359 don 5.5
-2360 opens 5.5
-2361 workers 5.5
-2362 ultimate 5.5
-2363 showed 5.5
-2364 sentence 5.5
-2365 pen 5.5
-2366 somebody's 5.5
-2367 talked 5.5
-2368 ashamed 5.5
-2369 bow 5.5
-2370 homer| 5.5
-2371 surgery 5.45
-2372 subtitles 5.45
-2373 richard 5.45
-2374 cross 5.45
-2375 tone 5.45
-2376 old-fashioned 5.45
-2377 decide 5.45
-2378 quietly 5.45
-2379 union 5.45
-2380 spell 5.45
-2381 mud 5.45
-2382 beats 5.45
-2383 wife's 5.45
-2384 kicking 5.45
-2385 slowly 5.45
-2386 hissing 5.45
-2387 bucket 5.45
-2388 introduce 5.45
-2389 babe 5.45
-2390 pressure 5.45
-2391 wasted 5.45
-2392 toss 5.45
-2393 caused 5.4
-2394 solid 5.4
-2395 cousin 5.4
-2396 stone 5.4
-2397 yawns 5.4
-2398 billy 5.4
-2399 t-shirt 5.4
-2400 herb 5.4
-2401 surely 5.4
-2402 fantastic 5.4
-2403 duh 5.4
-2404 dressed 5.4
-2405 staying 5.4
-2406 painting 5.4
-2407 everyman 5.35
-2408 finest 5.35
-2409 condition 5.35
-2410 artist 5.35
-2411 bloody 5.35
-2412 copy 5.35
-2413 burglar 5.35
-2414 romance 5.35
-2415 somethin' 5.35
-2416 setting 5.35
-2417 view 5.35
-2418 whooping 5.35
-2419 hutz 5.35
-2420 trial 5.3
-2421 glue 5.3
-2422 there'll 5.3
-2423 bingo 5.3
-2424 staring 5.3
-2425 freeze 5.3
-2426 coat 5.3
-2427 dvd 5.3
-2428 winter 5.3
-2429 filthy 5.3
-2430 slide 5.3
-2431 product 5.3
-2432 indian 5.3
-2433 worker 5.3
-2434 backwards 5.3
-2435 brand 5.3
-2436 farm 5.3
-2437 rough 5.25
-2438 soccer 5.25
-2439 aww 5.25
-2440 flaming 5.25
-2441 guide 5.25
-2442 stranger 5.25
-2443 jimmy 5.25
-2444 bleeding 5.25
-2445 idiots 5.25
-2446 grades 5.25
-2447 east 5.25
-2448 artie 5.25
-2449 travel 5.25
-2450 plans 5.25
-2451 apology 5.25
-2452 annual 5.2
-2453 valuable 5.2
-2454 doughnut 5.2
-2455 wars 5.2
-2456 bars 5.2
-2457 gagging 5.2
-2458 sending 5.2
-2459 wiener 5.2
-2460 trap 5.2
-2461 gang 5.2
-2462 ordered 5.2
-2463 robbed 5.2
-2464 pride 5.2
-2465 dignity 5.2
-2466 frozen 5.2
-2467 chest 5.2
-2468 texas 5.2
-2469 gotcha 5.2
-2470 awards 5.2
-2471 creature 5.15
-2472 punk 5.15
-2473 title 5.15
-2474 snack 5.15
-2475 highly 5.15
-2476 flower 5.15
-2477 blast 5.15
-2478 midnight 5.15
-2479 type 5.15
-2480 hidden 5.15
-2481 anger 5.15
-2482 punish 5.15
-2483 talent 5.15
-2484 seats 5.15
-2485 golf 5.15
-2486 immediately 5.15
-2487 west 5.1
-2488 advantage 5.1
-2489 cabin 5.1
-2490 punishment 5.1
-2491 characters 5.1
-2492 motor 5.1
-2493 pee 5.1
-2494 maggie's 5.1
-2495 dave 5.1
-2496 drill 5.1
-2497 hippie 5.1
-2498 painted 5.1
-2499 moments 5.1
-2500 tiger 5.1
-2501 kinds 5.05
-2502 opportunity 5.05
-2503 mysterious 5.05
-2504 usual 5.05
-2505 repeat 5.05
-2506 suspect 5.05
-2507 exchange 5.05
-2508 checks 5.05
-2509 indistinct 5.05
-2510 newspaper 5.05
-2511 howling 5.05
-2512 silver 5.05
-2513 drawing 5.05
-2514 groundskeeper 5.05
-2515 holiday 5.05
-2516 folk 5.05
-2517 squeeze 5.05
-2518 f 5.05
-2519 barn 5.05
-2520 concerned 5.05
-2521 vehicle 5.05
-2522 wagon 5.05
-2523 guitar 5.05
-2524 jacket 5.05
-2525 suddenly 5.05
-2526 event 5.05
-2527 macgyver 5.05
-2528 kicked 5.05
-2529 drinks 5.05
-2530 beeps 5.05
-2531 shorts 5.05
-2532 happier 5
-2533 dial 5
-2534 everybody's 5
-2535 scratch 5
-2536 rope 5
-2537 adults 5
-2538 prom 5
-2539 closes 5
-2540 alien 5
-2541 quarter 5
-2542 sucking 5
-2543 deer 5
-2544 corner 5
-2545 sees 5
-2546 snakes 5
-2547 friendship 5
-2548 oy 5
-2549 apples 5
-2550 whether 5
-2551 noises 5
-2552 james 5
-2553 belong 5
-2554 mike 5
-2555 survive 5
-2556 joy 5
-2557 swing 5
-2558 sin 5
-2559 socks 5
-2560 agent 4.95
-2561 account 4.95
-2562 canada 4.95
-2563 snap 4.95
-2564 applauding 4.95
-2565 lick 4.95
-2566 fence 4.95
-2567 gentle 4.95
-2568 downtown 4.95
-2569 grumbles 4.95
-2570 ol' 4.95
-2571 nick 4.95
-2572 junior 4.95
-2573 shoo 4.95
-2574 wee 4.95
-2575 mix 4.95
-2576 rare 4.95
-2577 hire 4.95
-2578 squeal 4.95
-2579 smash 4.95
-2580 contact 4.95
-2581 vegetables 4.95
-2582 tattoo 4.95
-2583 strength 4.95
-2584 jerks 4.95
-2585 showing 4.95
-2586 chick 4.95
-2587 smiling 4.95
-2588 watched 4.9
-2589 celebrity 4.9
-2590 shrimp 4.9
-2591 duffman 4.9
-2592 charles 4.9
-2593 girl's 4.9
-2594 kitty 4.9
-2595 raceman 4.9
-2596 dust 4.9
-2597 quality 4.9
-2598 dudes 4.9
-2599 arts 4.9
-2600 magical 4.9
-2601 voices 4.9
-2602 adorable 4.9
-2603 nearly 4.9
-2604 site 4.9
-2605 delightful 4.9
-2606 michaeljackson 4.9
-2607 heading 4.9
-2608 however 4.9
-2609 file 4.9
-2610 celebrities 4.9
-2611 jebediah 4.9
-2612 tank 4.85
-2613 lincoln 4.85
-2614 bug 4.85
-2615 dang 4.85
-2616 rusty 4.85
-2617 aboard 4.85
-2618 bells 4.85
-2619 sake 4.85
-2620 civil 4.85
-2621 whew 4.85
-2622 jealous 4.85
-2623 disease 4.85
-2624 bedroom 4.85
-2625 labor 4.85
-2626 honks 4.85
-2627 chew 4.85
-2628 earn 4.85
-2629 rotten 4.85
-2630 remove 4.85
-2631 streets 4.85
-2632 angels 4.85
-2633 greetings 4.85
-2634 hated 4.8
-2635 defense 4.8
-2636 strawberry 4.8
-2637 hail 4.8
-2638 ''the 4.8
-2639 bubble 4.8
-2640 musical 4.8
-2641 position 4.8
-2642 friendly 4.8
-2643 'tis 4.8
-2644 dish 4.8
-2645 impressed 4.8
-2646 religious 4.8
-2647 election 4.8
-2648 delivery 4.8
-2649 barely 4.8
-2650 including 4.8
-2651 forth 4.8
-2652 replace 4.8
-2653 climb 4.8
-2654 pity 4.8
-2655 yale 4.75
-2656 risk 4.75
-2657 pocket 4.75
-2658 violent 4.75
-2659 burned 4.75
-2660 picnic 4.75
-2661 nightmare 4.75
-2662 cutting 4.75
-2663 provide 4.75
-2664 returned 4.75
-2665 lamb 4.75
-2666 pound 4.75
-2667 therapy 4.75
-2668 basket 4.75
-2669 kisses 4.75
-2670 obvious 4.75
-2671 noble 4.75
-2672 followed 4.75
-2673 rub 4.75
-2674 bum 4.75
-2675 casino 4.75
-2676 deadly 4.75
-2677 liar 4.75
-2678 neat 4.75
-2679 avoid 4.7
-2680 vision 4.7
-2681 chuckle 4.7
-2682 helicopter 4.7
-2683 crappy 4.7
-2684 shape 4.7
-2685 hunting 4.7
-2686 howdy 4.7
-2687 riding 4.7
-2688 spray 4.7
-2689 oven 4.7
-2690 liberty 4.7
-2691 trees 4.7
-2692 burns's 4.7
-2693 mount 4.7
-2694 receive 4.7
-2695 pillow 4.7
-2696 chicks 4.7
-2697 holidays 4.7
-2698 laws 4.7
-2699 diamond 4.7
-2700 tonight's 4.7
-2701 sneak 4.7
-2702 planned 4.7
-2703 stands 4.7
-2704 ended 4.65
-2705 style 4.65
-2706 market 4.65
-2707 loose 4.65
-2708 burns' 4.65
-2709 results 4.65
-2710 pro 4.65
-2711 electrical 4.65
-2712 carnival 4.65
-2713 cuts 4.65
-2714 coach 4.65
-2715 imagination 4.65
-2716 this'll 4.65
-2717 owner 4.6
-2718 host 4.6
-2719 hopeless 4.6
-2720 belongs 4.6
-2721 happiest 4.6
-2722 physical 4.6
-2723 wolf 4.6
-2724 cecil 4.6
-2725 failure 4.6
-2726 yup 4.6
-2727 bastard 4.6
-2728 school's 4.6
-2729 hush 4.6
-2730 stamp 4.6
-2731 sand 4.6
-2732 lad 4.6
-2733 savings 4.6
-2734 must've 4.6
-2735 hop 4.6
-2736 crackling 4.6
-2737 ketchup 4.6
-2738 scam 4.6
-2739 suffering 4.6
-2740 tap 4.6
-2741 shadow 4.6
-2742 governor 4.55
-2743 grant 4.55
-2744 hates 4.55
-2745 supply 4.55
-2746 abraham 4.55
-2747 doors 4.55
-2748 bags 4.55
-2749 circle 4.55
-2750 chug 4.55
-2751 slap 4.55
-2752 believed 4.55
-2753 shirts 4.55
-2754 below 4.55
-2755 paradise 4.55
-2756 obviously 4.55
-2757 rice 4.5
-2758 stock 4.5
-2759 cracks 4.5
-2760 fries 4.5
-2761 slice 4.5
-2762 chops 4.5
-2763 babysitter 4.5
-2764 fraud 4.5
-2765 prices 4.5
-2766 material 4.5
-2767 who'd 4.5
-2768 bake 4.5
-2769 complain 4.5
-2770 cheating 4.5
-2771 kirk 4.5
-2772 balloon 4.5
-2773 why'd 4.5
-2774 surrender 4.5
-2775 twin 4.5
-2776 walls 4.5
-2777 forgotten 4.5
-2778 barbecue 4.5
-2779 progress 4.5
-2780 cherry 4.5
-2781 research 4.5
-2782 ja 4.5
-2783 dip 4.5
-2784 nonsense 4.5
-2785 rise 4.5
-2786 hideous 4.5
-2787 bright 4.5
-2788 familiar 4.5
-2789 opinion 4.45
-2790 demand 4.45
-2791 y 4.45
-2792 tim 4.45
-2793 fireworks 4.45
-2794 wire 4.45
-2795 synchro 4.45
-2796 windows 4.45
-2797 damage 4.45
-2798 mental 4.45
-2799 china 4.45
-2800 steady 4.45
-2801 mixed 4.45
-2802 skull 4.45
-2803 lift 4.45
-2804 sparkle 4.45
-2805 hobo 4.45
-2806 reporter 4.45
-2807 available 4.4
-2808 slip 4.4
-2809 baby's 4.4
-2810 crew 4.4
-2811 thud 4.4
-2812 ought 4.4
-2813 citizens 4.4
-2814 el 4.4
-2815 clancy 4.4
-2816 wide 4.4
-2817 electronic 4.4
-2818 puppies 4.4
-2819 pieces 4.4
-2820 helped 4.4
-2821 corpse 4.4
-2822 ireland 4.4
-2823 show's 4.4
-2824 upstairs 4.4
-2825 studio 4.4
-2826 bury 4.4
-2827 meow 4.4
-2828 incredible 4.4
-2829 michael 4.4
-2830 herself 4.4
-2831 gray 4.4
-2832 received 4.4
-2833 italian 4.4
-2834 cancel 4.35
-2835 nothing's 4.35
-2836 patch 4.35
-2837 wherever 4.35
-2838 corporation 4.35
-2839 grunt 4.35
-2840 rabbit 4.35
-2841 announce 4.35
-2842 jewish 4.35
-2843 stuffed 4.35
-2844 g 4.35
-2845 steel 4.35
-2846 it| 4.35
-2847 register 4.35
-2848 permission 4.35
-2849 debt 4.35
-2850 comics 4.35
-2851 vocalizing 4.35
-2852 guards 4.35
-2853 political 4.35
-2854 members 4.35
-2855 spanish 4.35
-2856 wore 4.35
-2857 snowball 4.3
-2858 pleasant 4.3
-2859 tube 4.3
-2860 mercy 4.3
-2861 owns 4.3
-2862 confused 4.3
-2863 booing 4.3
-2864 iron 4.3
-2865 finds 4.3
-2866 role 4.3
-2867 academy 4.3
-2868 smarter 4.3
-2869 pot 4.3
-2870 wood 4.3
-2871 ending 4.3
-2872 earlier 4.3
-2873 cracking 4.3
-2874 becoming 4.3
-2875 lawyer 4.3
-2876 likely 4.3
-2877 bee 4.3
-2878 declare 4.3
-2879 thou 4.25
-2880 fishing 4.25
-2881 terrace 4.25
-2882 bid 4.25
-2883 colors 4.25
-2884 moral 4.25
-2885 screen 4.25
-2886 federal 4.25
-2887 knocked 4.25
-2888 falls 4.25
-2889 roses 4.25
-2890 dean 4.25
-2891 parties 4.25
-2892 dog's 4.25
-2893 grew 4.25
-2894 garden 4.25
-2895 rattling 4.25
-2896 calendar 4.25
-2897 thumb 4.2
-2898 eddie 4.2
-2899 loaded 4.2
-2900 cheated 4.2
-2901 awake 4.2
-2902 canceled 4.2
-2903 crisis 4.2
-2904 pleased 4.2
-2905 sacred 4.2
-2906 mild 4.2
-2907 pole 4.2
-2908 shove 4.2
-2909 annoying 4.2
-2910 bunny 4.2
-2911 pin 4.2
-2912 competition 4.2
-2913 approaching 4.15
-2914 vegas 4.15
-2915 grown 4.15
-2916 fairy 4.15
-2917 hose 4.15
-2918 hawaii 4.15
-2919 prime 4.15
-2920 sock 4.15
-2921 manjula 4.15
-2922 parent 4.15
-2923 access 4.15
-2924 beers 4.15
-2925 grampa's 4.15
-2926 heroes 4.15
-2927 marvin 4.15
-2928 gibberish 4.15
-2929 bond 4.15
-2930 wayne 4.15
-2931 term 4.15
-2932 que 4.15
-2933 max 4.15
-2934 served 4.15
-2935 horns 4.15
-2936 gums 4.1
-2937 divorce 4.1
-2938 ho-hi 4.1
-2939 employees 4.1
-2940 meals 4.1
-2941 rapture 4.1
-2942 ape 4.1
-2943 monorail 4.1
-2944 schedule 4.1
-2945 normally 4.1
-2946 actor 4.1
-2947 tricks 4.1
-2948 lessons 4.1
-2949 pray 4.1
-2950 tire 4.1
-2951 minus 4.1
-2952 offense 4.1
-2953 abandoned 4.1
-2954 twisted 4.1
-2955 century 4.1
-2956 brunch 4.1
-2957 fallout 4.1
-2958 costs 4.1
-2959 silent 4.1
-2960 products 4.1
-2961 assure 4.1
-2962 coast 4.1
-2963 military 4.05
-2964 thanksgiving 4.05
-2965 perform 4.05
-2966 theory 4.05
-2967 chloe 4.05
-2968 witness 4.05
-2969 cocktail 4.05
-2970 daughter's 4.05
-2971 microwave 4.05
-2972 man| 4.05
-2973 gentleman 4.05
-2974 sweat 4.05
-2975 stanley 4.05
-2976 gil 4.05
-2977 nickel 4.05
-2978 nation 4.05
-2979 bride 4.05
-2980 drag 4.05
-2981 retirement 4.05
-2982 fires 4.05
-2983 boogie 4
-2984 hundreds 4
-2985 comet 4
-2986 cage 4
-2987 vey 4
-2988 prayer 4
-2989 rip 4
-2990 beyond 4
-2991 ohhh 4
-2992 boom 4
-2993 contract 4
-2994 equipment 4
-2995 p 4
-2996 performance 4
-2997 landing 4
-2998 x 4
-2999 buttons 4
-3000 riot 4
-3001 began 4
-3002 booth 4
-3003 jam 4
-3004 rude 4
-3005 enemies 4
-3006 roaring 4
-3007 wipe 4
-3008 headed 4
-3009 dame 4
-3010 cans 4
-3011 soda 4
-3012 imitates 4
-3013 oscar 4
-3014 period 3.95
-3015 backyard 3.95
-3016 cameras 3.95
-3017 wasting 3.95
-3018 pudding 3.95
-3019 sexual 3.95
-3020 lion 3.95
-3021 mistakes 3.95
-3022 signed 3.95
-3023 sdi 3.95
-3024 lab 3.95
-3025 machines 3.95
-3026 corrected 3.95
-3027 storm 3.95
-3028 seal 3.95
-3029 hills 3.95
-3030 claim 3.95
-3031 fate 3.95
-3032 enjoyed 3.95
-3033 acid 3.95
-3034 beaten 3.95
-3035 orchestra 3.95
-3036 application 3.95
-3037 dishes 3.95
-3038 kissed 3.95
-3039 loss 3.95
-3040 useless 3.9
-3041 items 3.9
-3042 agreement 3.9
-3043 appears 3.9
-3044 glory 3.9
-3045 exist 3.9
-3046 raised 3.9
-3047 joined 3.9
-3048 matters 3.9
-3049 humans 3.9
-3050 stu 3.9
-3051 tail 3.9
-3052 policy 3.9
-3053 float 3.9
-3054 fantasy 3.9
-3055 fever 3.9
-3056 dies 3.9
-3057 snarling 3.9
-3058 beep 3.9
-3059 tennis 3.9
-3060 woke 3.9
-3061 frankly 3.9
-3062 accepted 3.9
-3063 photos 3.9
-3064 pinch 3.9
-3065 package 3.9
-3066 unlike 3.9
-3067 assume 3.9
-3068 pitch 3.9
-3069 purchase 3.85
-3070 valentine's 3.85
-3071 disappointed 3.85
-3072 merely 3.85
-3073 slept 3.85
-3074 otherwise 3.85
-3075 recipe 3.85
-3076 interrupt 3.85
-3077 crashing 3.85
-3078 mint 3.85
-3079 knees 3.85
-3080 false 3.85
-3081 sat 3.85
-3082 official 3.85
-3083 cackling 3.85
-3084 april 3.85
-3085 paris 3.85
-3086 breathing 3.85
-3087 lobster 3.85
-3088 superman 3.85
-3089 ach 3.85
-3090 sounded 3.85
-3091 jeez 3.85
-3092 deliver 3.85
-3093 edison 3.85
-3094 town's 3.85
-3095 legend 3.85
-3096 h 3.85
-3097 daily 3.85
-3098 effects 3.85
-3099 range 3.8
-3100 bail 3.8
-3101 kidney 3.8
-3102 childhood 3.8
-3103 washing 3.8
-3104 clue 3.8
-3105 pump 3.8
-3106 swimming 3.8
-3107 foolish 3.8
-3108 checked 3.8
-3109 championship 3.8
-3110 plain 3.8
-3111 drew 3.8
-3112 y'all 3.8
-3113 wax 3.8
-3114 sax 3.8
-3115 superior 3.8
-3116 generation 3.8
-3117 bang 3.8
-3118 drunken 3.8
-3119 towards 3.8
-3120 impressive 3.8
-3121 cure 3.8
-3122 writers 3.8
-3123 blown 3.8
-3124 families 3.8
-3125 slipped 3.8
-3126 a's 3.8
-3127 chamber 3.8
-3128 executive 3.8
-3129 sputtering 3.8
-3130 courage 3.8
-3131 luann 3.8
-3132 path 3.8
-3133 appear 3.8
-3134 holds 3.8
-3135 lane 3.8
-3136 speaker 3.75
-3137 supplies 3.75
-3138 gravy 3.75
-3139 someplace 3.75
-3140 horses 3.75
-3141 bobbins 3.75
-3142 cheat 3.75
-3143 evergreen 3.75
-3144 mm-mmm 3.75
-3145 moves 3.75
-3146 director 3.75
-3147 novelty 3.75
-3148 counts 3.75
-3149 seek 3.75
-3150 isotopes 3.75
-3151 sour 3.75
-3152 battery 3.75
-3153 desperate 3.75
-3154 sue 3.75
-3155 cannon 3.75
-3156 humor 3.75
-3157 circus 3.75
-3158 magazines 3.75
-3159 per 3.75
-3160 chirping 3.75
-3161 bravo 3.75
-3162 international 3.75
-3163 t 3.75
-3164 shary 3.75
-3165 sensitive 3.75
-3166 passes 3.75
-3167 glove 3.7
-3168 bump 3.7
-3169 becomes 3.7
-3170 native 3.7
-3171 worthless 3.7
-3172 weapon 3.7
-3173 sober 3.7
-3174 underpants 3.7
-3175 skills 3.7
-3176 olympics 3.7
-3177 charged 3.7
-3178 commercials 3.7
-3179 separate 3.7
-3180 instrumental 3.7
-3181 construction 3.7
-3182 uh-uh 3.7
-3183 dime 3.7
-3184 sleepy 3.7
-3185 chip 3.7
-3186 opera 3.7
-3187 roosevelt 3.7
-3188 wins 3.7
-3189 root 3.7
-3190 hats 3.7
-3191 satan 3.7
-3192 backup 3.7
-3193 damned 3.7
-3194 unit 3.7
-3195 chimes 3.7
-3196 shoulder 3.7
-3197 rap 3.7
-3198 cloud 3.7
-3199 liver 3.7
-3200 carefully 3.7
-3201 frame 3.7
-3202 commit 3.7
-3203 thomas 3.7
-3204 nowhere 3.65
-3205 't 3.65
-3206 dolphins 3.65
-3207 orders 3.65
-3208 claus 3.65
-3209 andy 3.65
-3210 treatment 3.65
-3211 stress 3.65
-3212 actual 3.65
-3213 brand-new 3.65
-3214 adventure 3.65
-3215 banner 3.65
-3216 cereal 3.65
-3217 log 3.65
-3218 twist 3.65
-3219 album 3.65
-3220 cue 3.65
-3221 walked 3.65
-3222 unfair 3.65
-3223 destruction 3.65
-3224 cletus 3.65
-3225 selfish 3.65
-3226 web 3.65
-3227 rag 3.65
-3228 job22 3.65
-3229 brazil 3.65
-3230 ceiling 3.65
-3231 wallet 3.65
-3232 current 3.65
-3233 whack 3.65
-3234 navy 3.65
-3235 chase 3.65
-3236 telephone 3.65
-3237 beg 3.65
-3238 softball 3.65
-3239 sheep 3.65
-3240 apparently 3.65
-3241 pins 3.65
-3242 sidekick 3.6
-3243 stays 3.6
-3244 skeleton 3.6
-3245 thunder 3.6
-3246 resist 3.6
-3247 sweater 3.6
-3248 mirror 3.6
-3249 week's 3.6
-3250 embarrassed 3.6
-3251 intelligence 3.6
-3252 foam 3.6
-3253 pilot 3.6
-3254 chairs 3.6
-3255 zaius 3.6
-3256 nor 3.6
-3257 charm 3.6
-3258 announcement 3.6
-3259 castle 3.6
-3260 pit 3.6
-3261 noah 3.6
-3262 menu 3.6
-3263 pulling 3.6
-3264 kids' 3.6
-3265 amusement 3.6
-3266 pencil 3.6
-3267 alaska 3.6
-3268 direct 3.6
-3269 waylon 3.6
-3270 crummy 3.6
-3271 voted 3.6
-3272 fart 3.6
-3273 ted 3.55
-3274 invention 3.55
-3275 makeup 3.55
-3276 purpose 3.55
-3277 mutters 3.55
-3278 kidnapped 3.55
-3279 dates 3.55
-3280 desert 3.55
-3281 olympic 3.55
-3282 stadium 3.55
-3283 request 3.55
-3284 ants 3.55
-3285 reasons 3.55
-3286 sniffles 3.55
-3287 sandwiches 3.55
-3288 brief 3.55
-3289 flash 3.55
-3290 billionaire 3.55
-3291 family's 3.55
-3292 louder 3.55
-3293 delighted 3.55
-3294 spider 3.55
-3295 gurgling 3.55
-3296 hockey 3.55
-3297 whom 3.55
-3298 farewell 3.55
-3299 warned 3.55
-3300 loan 3.55
-3301 hurting 3.55
-3302 dental 3.55
-3303 bea 3.55
-3304 benefit 3.55
-3305 gag 3.55
-3306 jerky 3.55
-3307 tests 3.55
-3308 stunt 3.55
-3309 squawking 3.55
-3310 bull 3.5
-3311 sooner 3.5
-3312 designed 3.5
-3313 hamster 3.5
-3314 cared 3.5
-3315 choke 3.5
-3316 design 3.5
-3317 heavens 3.5
-3318 thursday 3.5
-3319 hammer 3.5
-3320 marvelous 3.5
-3321 create 3.5
-3322 spin 3.5
-3323 ms 3.5
-3324 dad| 3.5
-3325 frink 3.5
-3326 majesty 3.5
-3327 recycling 3.5
-3328 whining 3.5
-3329 karate 3.5
-3330 eats 3.5
-3331 financial 3.5
-3332 bullet 3.5
-3333 tradition 3.5
-3334 hitting 3.5
-3335 rush 3.5
-3336 chatter 3.5
-3337 bedtime 3.5
-3338 beast 3.5
-3339 sharp 3.5
-3340 hugh 3.5
-3341 '60s 3.5
-3342 creative 3.5
-3343 sink 3.5
-3344 southern 3.45
-3345 universe 3.45
-3346 louis 3.45
-3347 banned 3.45
-3348 zoo 3.45
-3349 id 3.45
-3350 lighten 3.45
-3351 tag 3.45
-3352 boobs 3.45
-3353 badly 3.45
-3354 bottles 3.45
-3355 aware 3.45
-3356 sherman 3.45
-3357 thin 3.45
-3358 estate 3.45
-3359 fried 3.45
-3360 nervously 3.45
-3361 gorge 3.45
-3362 opposite 3.45
-3363 jacques 3.45
-3364 stores 3.45
-3365 cheers 3.45
-3366 represent 3.45
-3367 miserable 3.45
-3368 process 3.45
-3369 bartender 3.45
-3370 soap 3.45
-3371 wrapped 3.45
-3372 expression 3.45
-3373 outfit 3.45
-3374 sobs 3.45
-3375 mumbling 3.45
-3376 cigarette 3.45
-3377 boxing 3.45
-3378 cone 3.45
-3379 snuggle 3.45
-3380 kearney 3.45
-3381 replaced 3.45
-3382 creepy 3.4
-3383 signs 3.4
-3384 puppy 3.4
-3385 burps 3.4
-3386 suicide 3.4
-3387 guests 3.4
-3388 arrived 3.4
-3389 discount 3.4
-3390 entirely 3.4
-3391 sheet 3.4
-3392 clearing 3.4
-3393 considered 3.4
-3394 neddy 3.4
-3395 digging 3.4
-3396 tuck 3.4
-3397 proof 3.4
-3398 australia 3.4
-3399 badge 3.4
-3400 wing 3.4
-3401 shelter 3.4
-3402 anytime 3.4
-3403 murmurs 3.4
-3404 cupcakes 3.4
-3405 crushed 3.4
-3406 sticky 3.4
-3407 foul 3.4
-3408 ron 3.4
-3409 cafeteria 3.4
-3410 clinton 3.4
-3411 expecting 3.4
-3412 click 3.4
-3413 solved 3.4
-3414 parked 3.4
-3415 denver 3.4
-3416 adil 3.4
-3417 lack 3.4
-3418 poop 3.4
-3419 basic 3.4
-3420 harm 3.4
-3421 swallow 3.4
-3422 jones 3.4
-3423 firing 3.4
-3424 entitled 3.4
-3425 brush 3.4
-3426 babbling 3.35
-3427 vice 3.35
-3428 artists 3.35
-3429 dummy 3.35
-3430 congress 3.35
-3431 core 3.35
-3432 youth 3.35
-3433 worship 3.35
-3434 granted 3.35
-3435 rolling 3.35
-3436 tuesday 3.35
-3437 nelson's 3.35
-3438 sucked 3.35
-3439 global 3.35
-3440 dna 3.35
-3441 tatum 3.35
-3442 excitement 3.35
-3443 district 3.35
-3444 trunk 3.35
-3445 warren 3.35
-3446 command 3.35
-3447 disgusting 3.35
-3448 hill 3.35
-3449 maniac 3.35
-3450 baron 3.35
-3451 responsibility 3.35
-3452 mars 3.35
-3453 marty 3.35
-3454 trained 3.35
-3455 splashmore 3.35
-3456 simon 3.35
-3457 arrested 3.35
-3458 gate 3.35
-3459 supervisor 3.35
-3460 classy 3.35
-3461 grandfather 3.35
-3462 failing 3.35
-3463 recall 3.35
-3464 environment 3.35
-3465 muntz 3.35
-3466 motion 3.35
-3467 henry 3.35
-3468 lounge 3.35
-3469 gumble 3.35
-3470 generous 3.35
-3471 wicked 3.35
-3472 convention 3.35
-3473 salt 3.3
-3474 feast 3.3
-3475 sirens 3.3
-3476 incident 3.3
-3477 poem 3.3
-3478 thunderclap 3.3
-3479 pickle 3.3
-3480 nest 3.3
-3481 pops 3.3
-3482 thirsty 3.3
-3483 hitler 3.3
-3484 crawl 3.3
-3485 wednesday 3.3
-3486 village 3.3
-3487 conference 3.3
-3488 jell-o 3.3
-3489 western 3.3
-3490 puts 3.3
-3491 laid 3.3
-3492 towel 3.3
-3493 chose 3.3
-3494 collect 3.3
-3495 horror 3.3
-3496 monroe 3.3
-3497 parts 3.3
-3498 me| 3.3
-3499 robert 3.3
-3500 echoing 3.3
-3501 needle 3.3
-3502 monitor 3.3
-3503 newspapers 3.3
-3504 mexico 3.3
-3505 carrying 3.3
-3506 insist 3.3
-3507 minister 3.3
-3508 vest 3.3
-3509 peter 3.3
-3510 cola 3.3
-3511 wealthy 3.3
-3512 hiya 3.3
-3513 string 3.3
-3514 toes 3.3
-3515 salary 3.3
-3516 remains 3.3
-3517 virus 3.3
-3518 buffalo 3.25
-3519 online 3.25
-3520 slave 3.25
-3521 cooking 3.25
-3522 champion 3.25
-3523 meltdown 3.25
-3524 catholic 3.25
-3525 victory 3.25
-3526 praise 3.25
-3527 ed 3.25
-3528 dining 3.25
-3529 bob's 3.25
-3530 concentrate 3.25
-3531 route 3.25
-3532 triple 3.25
-3533 guilt 3.25
-3534 wreck 3.25
-3535 mt 3.25
-3536 highest 3.25
-3537 entertain 3.25
-3538 poetry 3.25
-3539 spits 3.25
-3540 stayed 3.25
-3541 gifts 3.25
-3542 closing 3.25
-3543 understanding 3.25
-3544 tomato 3.25
-3545 cleaned 3.25
-3546 wings 3.25
-3547 vacuum 3.25
-3548 gather 3.25
-3549 mindy 3.2
-3550 wig 3.2
-3551 thief 3.2
-3552 stroke 3.2
-3553 'n' 3.2
-3554 trophy 3.2
-3555 pounding 3.2
-3556 purse 3.2
-3557 husband's 3.2
-3558 sacrifice 3.2
-3559 returning 3.2
-3560 washed 3.2
-3561 prayers 3.2
-3562 fixed 3.2
-3563 image 3.2
-3564 grace 3.2
-3565 legally 3.2
-3566 purple 3.2
-3567 attempt 3.2
-3568 passengers 3.2
-3569 focus 3.2
-3570 orleans 3.2
-3571 lee 3.2
-3572 technically 3.2
-3573 monument 3.2
-3574 computers 3.2
-3575 spirits 3.2
-3576 article 3.2
-3577 helps 3.2
-3578 gary 3.2
-3579 grass 3.2
-3580 hell's 3.2
-3581 narrating 3.2
-3582 massage 3.2
-3583 steps 3.2
-3584 doctors 3.2
-3585 fudge 3.15
-3586 attractive 3.15
-3587 crossword 3.15
-3588 stood 3.15
-3589 burgers 3.15
-3590 starring 3.15
-3591 fits 3.15
-3592 honeymoon 3.15
-3593 biting 3.15
-3594 rex 3.15
-3595 oldest 3.15
-3596 undercover 3.15
-3597 polite 3.15
-3598 nails 3.15
-3599 fools 3.15
-3600 troll 3.15
-3601 racket 3.15
-3602 apply 3.15
-3603 cubes 3.15
-3604 freddy 3.15
-3605 madness 3.15
-3606 high-pitched 3.15
-3607 happily 3.15
-3608 breaks 3.15
-3609 potatoes 3.15
-3610 pill 3.15
-3611 twelve 3.15
-3612 disturbing 3.15
-3613 brad 3.15
-3614 recommend 3.15
-3615 popcorn 3.15
-3616 spoon 3.15
-3617 lowest 3.15
-3618 vegetarian 3.15
-3619 skipped 3.15
-3620 raspberry 3.15
-3621 deserves 3.15
-3622 routine 3.15
-3623 involved 3.15
-3624 laddie 3.15
-3625 murphy 3.15
-3626 ahoy 3.15
-3627 explode 3.15
-3628 tools 3.15
-3629 cube 3.15
-3630 fame 3.15
-3631 pageant 3.15
-3632 relief 3.1
-3633 loyal 3.1
-3634 chili 3.1
-3635 not| 3.1
-3636 exact 3.1
-3637 rabbi 3.1
-3638 knee 3.1
-3639 influence 3.1
-3640 recent 3.1
-3641 radiation 3.1
-3642 nail 3.1
-3643 dropping 3.1
-3644 ex 3.1
-3645 hiccups 3.1
-3646 tv's 3.1
-3647 sister's 3.1
-3648 curly 3.1
-3649 disaster 3.1
-3650 shack 3.1
-3651 bullets 3.1
-3652 pointing 3.1
-3653 bikes 3.1
-3654 swallowed 3.1
-3655 sir| 3.1
-3656 warming 3.1
-3657 forbidden 3.1
-3658 ba-ba 3.1
-3659 un 3.1
-3660 hamburger 3.1
-3661 goo 3.1
-3662 confession 3.1
-3663 supreme 3.1
-3664 helpful 3.1
-3665 shudders 3.1
-3666 noon 3.1
-3667 cakes 3.1
-3668 palace 3.1
-3669 forgetting 3.1
-3670 blanket 3.1
-3671 europe 3.1
-3672 creaking 3.05
-3673 bonnie 3.05
-3674 harvard 3.05
-3675 sting 3.05
-3676 cuckoo 3.05
-3677 jim 3.05
-3678 suspicious 3.05
-3679 nut 3.05
-3680 checking 3.05
-3681 freaks 3.05
-3682 straighten 3.05
-3683 thrill 3.05
-3684 kicks 3.05
-3685 patient 3.05
-3686 section 3.05
-3687 authority 3.05
-3688 lance 3.05
-3689 coincidence 3.05
-3690 {yi}singing 3.05
-3691 pages 3.05
-3692 eclipse 3.05
-3693 scores 3.05
-3694 swim 3.05
-3695 tragic 3.05
-3696 scar 3.05
-3697 standard 3.05
-3698 millionaire 3.05
-3699 dome 3.05
-3700 jay 3.05
-3701 tool 3.05
-3702 queer 3.05
-3703 notes 3.05
-3704 settled 3.05
-3705 typical 3.05
-3706 victim 3.05
-3707 bitch 3.05
-3708 taco 3.05
-3709 appearance 3.05
-3710 martin's 3.05
-3711 nature's 3.05
-3712 judging 3.05
-3713 motel 3.05
-3714 cries 3.05
-3715 snacks 3.05
-3716 stammering 3
-3717 soy 3
-3718 clowns 3
-3719 rate 3
-3720 lawyers 3
-3721 retired 3
-3722 lenny's 3
-3723 economy 3
-3724 drank 3
-3725 featuring 3
-3726 nanny 3
-3727 loaf 3
-3728 waited 3
-3729 darryl 3
-3730 roots 3
-3731 behave 3
-3732 treated 3
-3733 crank 3
-3734 flies 3
-3735 fifty 3
-3736 activity 3
-3737 safely 3
-3738 rooms 3
-3739 glorious 3
-3740 footage 3
-3741 citizen 3
-3742 suspended 3
-3743 journey 3
-3744 russian 3
-3745 pancakes 3
-3746 ivory 3
-3747 flesh 3
-3748 proposition 3
-3749 sincerely 3
-3750 grapes 3
-3751 knight 3
-3752 filling 3
-3753 newest 3
-3754 mustard 3
-3755 hunt 3
-3756 cheech 3
-3757 tasty 3
-3758 eveybody 3
-3759 vampires 3
-3760 weapons 3
-3761 goat 3
-3762 howard 3
-3763 quarters 3
-3764 liquid 3
-3765 knowledge 3
-3766 gutter 3
-3767 immigrants 3
-3768 ignore 3
-3769 passion 3
-3770 confidence 2.95
-3771 wears 2.95
-3772 pushing 2.95
-3773 practically 2.95
-3774 fee 2.95
-3775 filth 2.95
-3776 personally 2.95
-3777 luckily 2.95
-3778 betty 2.95
-3779 wrap 2.95
-3780 breeze 2.95
-3781 fought 2.95
-3782 bachelor 2.95
-3783 combination 2.95
-3784 so-called 2.95
-3785 balance 2.95
-3786 essay 2.95
-3787 nights 2.95
-3788 psst 2.95
-3789 programming 2.95
-3790 troubled 2.95
-3791 butts 2.95
-3792 coins 2.95
-3793 net 2.95
-3794 houten 2.95
-3795 deeply 2.95
-3796 szyslak 2.95
-3797 pronounce 2.95
-3798 defend 2.95
-3799 campaign 2.95
-3800 complaining 2.95
-3801 puke 2.95
-3802 locker 2.95
-3803 punching 2.95
-3804 production 2.95
-3805 spoken 2.95
-3806 infernal 2.95
-3807 inner 2.95
-3808 ruining 2.95
-3809 bailey 2.95
-3810 beard 2.95
-3811 mexican 2.95
-3812 halfway 2.95
-3813 pushed 2.95
-3814 winners 2.95
-3815 increase 2.95
-3816 forms 2.95
-3817 problemo 2.95
-3818 pigs 2.95
-3819 jet 2.95
-3820 it'd 2.95
-3821 sausage 2.95
-3822 eternal 2.95
-3823 session 2.95
-3824 billion 2.9
-3825 rainbow 2.9
-3826 clattering 2.9
-3827 fashion 2.9
-3828 attempted 2.9
-3829 chef 2.9
-3830 commissioner 2.9
-3831 captured 2.9
-3832 angrily 2.9
-3833 ogdenville 2.9
-3834 7-g 2.9
-3835 teacher's 2.9
-3836 joint 2.9
-3837 tapping 2.9
-3838 applesauce 2.9
-3839 mortgage 2.9
-3840 chong 2.9
-3841 pretzels 2.9
-3842 easily 2.9
-3843 necessary 2.9
-3844 gummi 2.9
-3845 surface 2.9
-3846 satellite 2.9
-3847 text 2.9
-3848 pretending 2.9
-3849 vance 2.9
-3850 fridge 2.9
-3851 burst 2.9
-3852 gunfire 2.9
-3853 pies 2.9
-3854 tying 2.9
-3855 university 2.9
-3856 jessica 2.9
-3857 california 2.9
-3858 arranged 2.9
-3859 towels 2.9
-3860 bart| 2.9
-3861 writer 2.9
-3862 script 2.9
-3863 softly 2.9
-3864 stripes 2.9
-3865 thick 2.9
-3866 portrait 2.9
-3867 buzzes 2.9
-3868 topic 2.9
-3869 couples 2.9
-3870 vicious 2.9
-3871 appetite 2.9
-3872 ken 2.9
-3873 robbery 2.9
-3874 impress 2.9
-3875 ashes 2.9
-3876 experienced 2.9
-3877 orphanage 2.9
-3878 explanation 2.85
-3879 trumpets 2.85
-3880 oughta 2.85
-3881 stab 2.85
-3882 girls' 2.85
-3883 vodka 2.85
-3884 expected 2.85
-3885 groin 2.85
-3886 poke 2.85
-3887 scoop 2.85
-3888 counting 2.85
-3889 squirt 2.85
-3890 homemade 2.85
-3891 pockets 2.85
-3892 principal's 2.85
-3893 sweetest 2.85
-3894 charges 2.85
-3895 require 2.85
-3896 skinny 2.85
-3897 fur 2.85
-3898 bothering 2.85
-3899 marrying 2.85
-3900 virgil 2.85
-3901 hip-hop 2.85
-3902 cracker 2.85
-3903 greater 2.85
-3904 haircut 2.85
-3905 avenue 2.85
-3906 hung 2.85
-3907 husbands 2.85
-3908 braces 2.85
-3909 worms 2.85
-3910 activities 2.85
-3911 embarrass 2.85
-3912 thrown 2.85
-3913 maya 2.85
-3914 fatty 2.85
-3915 desire 2.85
-3916 painful 2.85
-3917 sketch 2.85
-3918 serving 2.85
-3919 arnie 2.85
-3920 closest 2.85
-3921 pm 2.85
-3922 spine 2.85
-3923 trail 2.85
-3924 dictionary 2.8
-3925 bicycle 2.8
-3926 recognize 2.8
-3927 ambulance 2.8
-3928 distance 2.8
-3929 shakes 2.8
-3930 microphone 2.8
-3931 honored 2.8
-3932 sec 2.8
-3933 celebrating 2.8
-3934 shuddering 2.8
-3935 sarah 2.8
-3936 stinking 2.8
-3937 rob 2.8
-3938 joining 2.8
-3939 response 2.8
-3940 versus 2.8
-3941 hog 2.8
-3942 neddie 2.8
-3943 source 2.8
-3944 aisle 2.8
-3945 council 2.8
-3946 caring 2.8
-3947 william 2.8
-3948 eliza 2.8
-3949 creatures 2.8
-3950 baloney 2.8
-3951 particular 2.8
-3952 ralphie 2.8
-3953 mattress 2.8
-3954 papers 2.8
-3955 bonus 2.8
-3956 broadcast 2.8
-3957 taylor 2.8
-3958 else's 2.8
-3959 threat 2.8
-3960 awkward 2.8
-3961 asks 2.8
-3962 refrigerator 2.8
-3963 busted 2.8
-3964 roller 2.8
-3965 stickers 2.8
-3966 yoink 2.8
-3967 na 2.8
-3968 payment 2.8
-3969 bounty 2.8
-3970 waters 2.8
-3971 murderer 2.8
-3972 chill 2.8
-3973 lionel 2.8
-3974 harsh 2.8
-3975 erotic 2.8
-3976 shown 2.8
-3977 dinosaurs 2.8
-3978 eventually 2.8
-3979 flanders' 2.8
-3980 elves 2.8
-3981 prohibition 2.8
-3982 suffer 2.8
-3983 men's 2.8
-3984 urge 2.8
-3985 outstanding 2.8
-3986 ceremony 2.8
-3987 chat 2.8
-3988 pranks 2.75
-3989 deed 2.75
-3990 uhh 2.75
-3991 maze 2.75
-3992 other's 2.75
-3993 waverly 2.75
-3994 shave 2.75
-3995 punks 2.75
-3996 ford 2.75
-3997 chortling 2.75
-3998 she'd 2.75
-3999 mustache 2.75
-4000 walks 2.75
-4001 signal 2.75
-4002 necklace 2.75
-4003 defeat 2.75
-4004 anyhoo 2.75
-4005 sushi 2.75
-4006 frosting 2.75
-4007 tries 2.75
-4008 direction 2.75
-4009 directions 2.75
-4010 homes 2.75
-4011 facts 2.75
-4012 hooked 2.75
-4013 milhouse's 2.75
-4014 stretch 2.75
-4015 trumpeting 2.75
-4016 frightened 2.75
-4017 money's 2.75
-4018 therefore 2.75
-4019 franchise 2.75
-4020 inventor 2.75
-4021 shortcut 2.75
-4022 franklin 2.75
-4023 los 2.75
-4024 upbeat 2.75
-4025 what'll 2.75
-4026 armed 2.75
-4027 reporting 2.75
-4028 exit 2.75
-4029 ducks 2.75
-4030 juliet 2.75
-4031 timmy 2.75
-4032 hulk 2.75
-4033 culture 2.75
-4034 remote 2.75
-4035 ironic 2.75
-4036 inspired 2.75
-4037 herman 2.75
-4038 fatso 2.75
-4039 t-shirts 2.75
-4040 dynamite 2.75
-4041 cooties 2.7
-4042 priceless 2.7
-4043 committee 2.7
-4044 bergstrom 2.7
-4045 commission 2.7
-4046 dive 2.7
-4047 hut 2.7
-4048 donut 2.7
-4049 madam 2.7
-4050 haw 2.7
-4051 smith 2.7
-4052 torture 2.7
-4053 blonde 2.7
-4054 banging 2.7
-4055 younger 2.7
-4056 cave 2.7
-4057 jumping 2.7
-4058 sponge 2.7
-4059 substitute 2.7
-4060 bathing 2.7
-4061 encourage 2.7
-4062 woman's 2.7
-4063 hooting 2.7
-4064 odds 2.7
-4065 popularity 2.7
-4066 twenty 2.7
-4067 nagging 2.7
-4068 occasion 2.7
-4069 cotton 2.7
-4070 haunted 2.7
-4071 mere 2.7
-4072 gabbo 2.7
-4073 gig 2.7
-4074 novel 2.7
-4075 perfume 2.7
-4076 soldier 2.7
-4077 privacy 2.7
-4078 holes 2.7
-4079 off| 2.7
-4080 batman 2.7
-4081 sneaking 2.7
-4082 jelly 2.7
-4083 drum 2.7
-4084 mask 2.7
-4085 voyage 2.7
-4086 hounds 2.7
-4087 procedure 2.7
-4088 barley 2.7
-4089 spill 2.65
-4090 discussion 2.65
-4091 crunching 2.65
-4092 pretzel 2.65
-4093 merchandise 2.65
-4094 improve 2.65
-4095 complex 2.65
-4096 frisbee 2.65
-4097 events 2.65
-4098 drawer 2.65
-4099 dough 2.65
-4100 angelica 2.65
-4101 bold 2.65
-4102 frosty 2.65
-4103 gut 2.65
-4104 previous 2.65
-4105 chuck 2.65
-4106 bites 2.65
-4107 gently 2.65
-4108 poker 2.65
-4109 san 2.65
-4110 becky 2.65
-4111 einstein 2.65
-4112 con 2.65
-4113 gorilla 2.65
-4114 escaped 2.65
-4115 bound 2.65
-4116 ballad 2.65
-4117 freezer 2.65
-4118 heroic 2.65
-4119 extreme 2.65
-4120 ticking 2.65
-4121 gathered 2.65
-4122 yak 2.65
-4123 broadway 2.65
-4124 melody 2.65
-4125 scheme 2.65
-4126 wisdom 2.65
-4127 here| 2.65
-4128 flame 2.65
-4129 permanent 2.65
-4130 era 2.65
-4131 hunk 2.65
-4132 industry 2.65
-4133 workin' 2.65
-4134 cured 2.65
-4135 y'ello 2.65
-4136 blessed 2.65
-4137 bobo 2.65
-4138 freakin' 2.65
-4139 zap 2.65
-4140 producers 2.65
-4141 replacement 2.65
-4142 effort 2.65
-4143 betrayed 2.65
-4144 swings 2.65
-4145 conditioner 2.65
-4146 dealer 2.65
-4147 autograph 2.6
-4148 screeches 2.6
-4149 fooling 2.6
-4150 doggie 2.6
-4151 arthur 2.6
-4152 gore 2.6
-4153 review 2.6
-4154 dan 2.6
-4155 time's 2.6
-4156 pirate 2.6
-4157 tragedy 2.6
-4158 indians 2.6
-4159 buddies 2.6
-4160 jerry 2.6
-4161 dork 2.6
-4162 selected 2.6
-4163 ehh 2.6
-4164 clouds 2.6
-4165 burnsie 2.6
-4166 goliath 2.6
-4167 flush 2.6
-4168 le 2.6
-4169 florida 2.6
-4170 mentioned 2.6
-4171 steam 2.6
-4172 humanity 2.6
-4173 radical 2.6
-4174 jingle 2.6
-4175 flat 2.6
-4176 bands 2.6
-4177 confess 2.6
-4178 volunteer 2.6
-4179 author 2.6
-4180 lover 2.6
-4181 dumped 2.6
-4182 amount 2.6
-4183 whines 2.6
-4184 ankle 2.6
-4185 scientific 2.6
-4186 creating 2.6
-4187 kang 2.6
-4188 martha 2.6
-4189 plates 2.6
-4190 cemetery 2.6
-4191 suggestions 2.6
-4192 cows 2.6
-4193 curious 2.6
-4194 myers 2.6
-4195 base 2.6
-4196 mmm-hmm 2.6
-4197 bodies 2.6
-4198 melon 2.6
-4199 thing's 2.6
-4200 caller 2.6
-4201 dot 2.6
-4202 pete 2.6
-4203 touchdown 2.6
-4204 entered 2.6
-4205 ability 2.6
-4206 swallowing 2.6
-4207 fetch 2.6
-4208 darkness 2.6
-4209 cleaner 2.55
-4210 flushing 2.55
-4211 traveling 2.55
-4212 shy 2.55
-4213 bananas 2.55
-4214 fog 2.55
-4215 demon 2.55
-4216 magnificent 2.55
-4217 launch 2.55
-4218 leak 2.55
-4219 bunk 2.55
-4220 amber 2.55
-4221 literally 2.55
-4222 greedy 2.55
-4223 sloppy 2.55
-4224 plug 2.55
-4225 when's 2.55
-4226 car's 2.55
-4227 eighth 2.55
-4228 sample 2.55
-4229 virgin 2.55
-4230 technology 2.55
-4231 nicer 2.55
-4232 haw-haw 2.55
-4233 interview 2.55
-4234 fears 2.55
-4235 plutonium 2.55
-4236 bitter 2.55
-4237 bend 2.55
-4238 shrieking 2.55
-4239 framed 2.55
-4240 impression 2.55
-4241 settlement 2.55
-4242 ratings 2.55
-4243 promises 2.55
-4244 worn 2.55
-4245 coaster 2.55
-4246 behalf 2.55
-4247 cliff 2.55
-4248 cord 2.55
-4249 presentation 2.55
-4250 pirates 2.55
-4251 officials 2.55
-4252 matlock 2.55
-4253 compete 2.55
-4254 envy 2.55
-4255 naturally 2.55
-4256 tower 2.5
-4257 propose 2.5
-4258 cups 2.5
-4259 marijuana 2.5
-4260 discipline 2.5
-4261 revving 2.5
-4262 raw 2.5
-4263 saint 2.5
-4264 drives 2.5
-4265 mold 2.5
-4266 praying 2.5
-4267 hardest 2.5
-4268 cooler 2.5
-4269 pedal 2.5
-4270 uses 2.5
-4271 christ 2.5
-4272 hah 2.5
-4273 baked 2.5
-4274 senior 2.5
-4275 syndrome 2.5
-4276 result 2.5
-4277 dam 2.5
-4278 ages 2.5
-4279 angle 2.5
-4280 coke 2.5
-4281 baby-sitter 2.5
-4282 allowance 2.5
-4283 comfort 2.5
-4284 floating 2.5
-4285 roman 2.5
-4286 canadian 2.5
-4287 dice 2.5
-4288 stonecutters 2.5
-4289 crackers 2.5
-4290 kennedy 2.5
-4291 clip 2.5
-4292 peaceful 2.5
-4293 sings 2.5
-4294 mailman 2.5
-4295 rip-off 2.5
-4296 barks 2.5
-4297 snitch 2.5
-4298 shout 2.5
-4299 roars 2.5
-4300 quest 2.5
-4301 moleman 2.5
-4302 troubles 2.5
-4303 managed 2.5
-4304 teamwork 2.5
-4305 woo 2.5
-4306 lewis 2.5
-4307 tense 2.5
-4308 dozen 2.5
-4309 determine 2.5
-4310 display 2.5
-4311 whacking 2.5
-4312 sam 2.5
-4313 convinced 2.5
-4314 squishy 2.5
-4315 witches 2.5
-4316 derby 2.5
-4317 bushes 2.5
-4318 jungle 2.5
-4319 terrific 2.5
-4320 classroom 2.5
-4321 rv 2.5
-4322 phones 2.5
-4323 mom| 2.5
-4324 coolest 2.5
-4325 avenge 2.5
-4326 studies 2.5
-4327 v 2.5
-4328 rack 2.5
-4329 diaper 2.5
-4330 wally 2.45
-4331 sissy 2.45
-4332 homeless 2.45
-4333 carried 2.45
-4334 cement 2.45
-4335 vomit 2.45
-4336 life's 2.45
-4337 assignment 2.45
-4338 spice 2.45
-4339 toe 2.45
-4340 nixon 2.45
-4341 oak 2.45
-4342 mothers 2.45
-4343 exhales 2.45
-4344 tsk 2.45
-4345 degree 2.45
-4346 musician 2.45
-4347 judgment 2.45
-4348 explore 2.45
-4349 elected 2.45
-4350 senator 2.45
-4351 india 2.45
-4352 visiting 2.45
-4353 object 2.45
-4354 attacked 2.45
-4355 shakespeare 2.45
-4356 bribe 2.45
-4357 mule 2.45
-4358 lobby 2.45
-4359 goose 2.45
-4360 fed 2.45
-4361 spaceship 2.45
-4362 alert 2.45
-4363 patented 2.45
-4364 zing 2.45
-4365 bases 2.45
-4366 et 2.45
-4367 ordinary 2.45
-4368 walt 2.45
-4369 fred 2.45
-4370 what| 2.45
-4371 thuds 2.45
-4372 shark 2.45
-4373 passing 2.45
-4374 brandine 2.45
-4375 danish 2.45
-4376 cases 2.45
-4377 disappeared 2.45
-4378 gunshots 2.45
-4379 funky 2.45
-4380 souls 2.45
-4381 aliens 2.45
-4382 flew 2.45
-4383 doh 2.45
-4384 profits 2.45
-4385 mostly 2.45
-4386 scale 2.45
-4387 outrageous 2.45
-4388 paste 2.45
-4389 strip 2.45
-4390 slurps 2.45
-4391 president's 2.45
-4392 abuse 2.45
-4393 crimes 2.45
-4394 hid 2.45
-4395 racing 2.45
-4396 fry 2.45
-4397 grammar 2.45
-4398 kidnapping 2.45
-4399 je 2.4
-4400 proper 2.4
-4401 describe 2.4
-4402 poster 2.4
-4403 dumpster 2.4
-4404 developed 2.4
-4405 bench 2.4
-4406 management 2.4
-4407 humble 2.4
-4408 shush 2.4
-4409 effect 2.4
-4410 fascinating 2.4
-4411 understood 2.4
-4412 largest 2.4
-4413 drivers 2.4
-4414 daredevil 2.4
-4415 ruth 2.4
-4416 depressed 2.4
-4417 observe 2.4
-4418 chasing 2.4
-4419 joan 2.4
-4420 luxury 2.4
-4421 reindeer 2.4
-4422 baking 2.4
-4423 teen 2.4
-4424 eliminate 2.4
-4425 piggy 2.4
-4426 overweight 2.4
-4427 gags 2.4
-4428 constant 2.4
-4429 desserts 2.4
-4430 miami 2.4
-4431 extremely 2.4
-4432 pep 2.4
-4433 mock 2.4
-4434 crossed 2.4
-4435 ribs 2.4
-4436 reactor 2.4
-4437 fights 2.4
-4438 uniform 2.4
-4439 fbi 2.4
-4440 stake 2.4
-4441 expert 2.4
-4442 grinding 2.4
-4443 fully 2.4
-4444 shalt 2.4
-4445 positive 2.4
-4446 crow 2.4
-4447 pearls 2.4
-4448 turtle 2.4
-4449 night's 2.4
-4450 thudding 2.4
-4451 sunshine 2.4
-4452 lamp 2.4
-4453 bait 2.4
-4454 combat 2.4
-4455 swell 2.4
-4456 raven 2.4
-4457 hercules 2.4
-4458 boston 2.4
-4459 stare 2.4
-4460 quitting 2.4
-4461 generations 2.4
-4462 oi 2.4
-4463 goorsha 2.4
-4464 atlanta 2.4
-4465 cart 2.4
-4466 whipped 2.4
-4467 mansion 2.4
-4468 mechanical 2.4
-4469 tons 2.4
-4470 grizzlies 2.4
-4471 species 2.4
-4472 ingredient 2.35
-4473 snickering 2.35
-4474 directly 2.35
-4475 scraping 2.35
-4476 cocks 2.35
-4477 nebraska 2.35
-4478 jenny 2.35
-4479 spoil 2.35
-4480 imaginary 2.35
-4481 bartholomew 2.35
-4482 wolfcastle 2.35
-4483 catching 2.35
-4484 spaghetti 2.35
-4485 invisible 2.35
-4486 leprechaun 2.35
-4487 homerj 2.35
-4488 belts 2.35
-4489 sprinkle 2.35
-4490 octopus 2.35
-4491 protection 2.35
-4492 rug 2.35
-4493 barney's 2.35
-4494 baboon 2.35
-4495 squawks 2.35
-4496 recording 2.35
-4497 dawn 2.35
-4498 hippo 2.35
-4499 permit 2.35
-4500 hike 2.35
-4501 corporate 2.35
-4502 uniforms 2.35
-4503 dismissed 2.35
-4504 sane 2.35
-4505 teresa 2.35
-4506 medium 2.35
-4507 causing 2.35
-4508 smiles 2.35
-4509 equals 2.35
-4510 upside 2.35
-4511 agnes 2.35
-4512 pointless 2.35
-4513 whisper 2.35
-4514 weakness 2.35
-4515 candle 2.35
-4516 sleeps 2.35
-4517 popping 2.35
-4518 hopes 2.35
-4519 advance 2.35
-4520 mascot 2.35
-4521 patrol 2.35
-4522 answered 2.35
-4523 sharks 2.35
-4524 tummy 2.35
-4525 joey 2.35
-4526 weakly 2.35
-4527 shampoo 2.35
-4528 controversial 2.35
-4529 yuck 2.35
-4530 attached 2.35
-4531 tonic 2.35
-4532 twenty-five 2.35
-4533 utility 2.35
-4534 ovenfresh 2.35
-4535 ok 2.35
-4536 lf 2.35
-4537 institute 2.35
-4538 dreaming 2.3
-4539 eternity 2.3
-4540 ripped 2.3
-4541 static 2.3
-4542 moustache 2.3
-4543 honk 2.3
-4544 cram 2.3
-4545 units 2.3
-4546 tuna 2.3
-4547 violin 2.3
-4548 coffin 2.3
-4549 right| 2.3
-4550 self-esteem 2.3
-4551 pipes 2.3
-4552 carrot 2.3
-4553 recently 2.3
-4554 pepper 2.3
-4555 messages 2.3
-4556 wrestling 2.3
-4557 july 2.3
-4558 ungrateful 2.3
-4559 hippies 2.3
-4560 yeah| 2.3
-4561 relieved 2.3
-4562 starving 2.3
-4563 location 2.3
-4564 requires 2.3
-4565 zombies 2.3
-4566 possum 2.3
-4567 marching 2.3
-4568 secretary 2.3
-4569 massive 2.3
-4570 jeans 2.3
-4571 orphan 2.3
-4572 laughed 2.3
-4573 legendary 2.3
-4574 coin 2.3
-4575 rank 2.3
-4576 cupcake 2.3
-4577 pets 2.3
-4578 jolly 2.3
-4579 exhibit 2.3
-4580 fort 2.3
-4581 bony 2.3
-4582 technical 2.3
-4583 allison 2.3
-4584 ouch 2.3
-4585 client 2.3
-4586 toxic 2.3
-4587 mop 2.3
-4588 cities 2.3
-4589 squares 2.3
-4590 printed 2.3
-4591 dentist 2.3
-4592 drops 2.3
-4593 souvenir 2.3
-4594 correction 2.3
-4595 sermon 2.3
-4596 owned 2.3
-4597 slay 2.3
-4598 furniture 2.3
-4599 policeman 2.3
-4600 lettuce 2.3
-4601 women's 2.3
-4602 pace 2.3
-4603 zinc 2.3
-4604 studying 2.3
-4605 goal 2.3
-4606 goods 2.3
-4607 creation 2.3
-4608 shots 2.25
-4609 struggle 2.25
-4610 target 2.25
-4611 edge 2.25
-4612 balloons 2.25
-4613 kindly 2.25
-4614 dwight 2.25
-4615 hallelujah 2.25
-4616 penalty 2.25
-4617 rumors 2.25
-4618 treats 2.25
-4619 wacky 2.25
-4620 roast 2.25
-4621 highway 2.25
-4622 bugs 2.25
-4623 objection 2.25
-4624 clerk 2.25
-4625 cigars 2.25
-4626 safer 2.25
-4627 elderly 2.25
-4628 worries 2.25
-4629 crashes 2.25
-4630 marge| 2.25
-4631 criminals 2.25
-4632 jewel 2.25
-4633 placed 2.25
-4634 strategy 2.25
-4635 listened 2.25
-4636 minor 2.25
-4637 peas 2.25
-4638 speaks 2.25
-4639 kansas 2.25
-4640 goir 2.25
-4641 lard 2.25
-4642 limbo 2.25
-4643 wizard 2.25
-4644 paw 2.25
-4645 scent 2.25
-4646 poisoning 2.25
-4647 kills 2.25
-4648 dedicate 2.25
-4649 pointy 2.25
-4650 grandma's 2.25
-4651 fountain 2.25
-4652 astronaut 2.25
-4653 roy 2.25
-4654 proceed 2.25
-4655 fuzzy 2.25
-4656 dryer 2.25
-4657 shovel 2.25
-4658 adventures 2.25
-4659 landed 2.25
-4660 batteries 2.25
-4661 grimes 2.25
-4662 idol 2.25
-4663 background 2.25
-4664 yawning 2.25
-4665 horny 2.25
-4666 betting 2.25
-4667 witty 2.25
-4668 no| 2.25
-4669 london 2.25
-4670 strangle 2.25
-4671 envelope 2.25
-4672 restraining 2.25
-4673 powersauce 2.25
-4674 trailer 2.25
-4675 cd 2.25
-4676 jaw 2.25
-4677 symphony 2.25
-4678 coney 2.25
-4679 struck 2.25
-4680 volume 2.25
-4681 boot 2.25
-4682 gain 2.25
-4683 covers 2.25
-4684 farmer 2.25
-4685 jr 2.25
-4686 self 2.25
-4687 whiskey 2.25
-4688 mac 2.25
-4689 you|to 2.25
-4690 suffered 2.25
-4691 goofy 2.25
-4692 brother's 2.25
-4693 hans 2.25
-4694 reverse 2.25
-4695 bah 2.25
-4696 venus 2.2
-4697 arrive 2.2
-4698 sunk 2.2
-4699 genuine 2.2
-4700 voters 2.2
-4701 charming 2.2
-4702 marjorie 2.2
-4703 germans 2.2
-4704 lovers 2.2
-4705 recital 2.2
-4706 bigfoot 2.2
-4707 vent 2.2
-4708 rose 2.2
-4709 ben 2.2
-4710 karma 2.2
-4711 gloria 2.2
-4712 nasty 2.2
-4713 animated 2.2
-4714 snake's 2.2
-4715 strap 2.2
-4716 downstairs 2.2
-4717 zoom 2.2
-4718 tones 2.2
-4719 graffiti 2.2
-4720 entry 2.2
-4721 ty 2.2
-4722 jaws 2.2
-4723 it'' 2.2
-4724 focused 2.2
-4725 shocking 2.2
-4726 approve 2.2
-4727 tender 2.2
-4728 melted 2.2
-4729 mutants 2.2
-4730 vs 2.2
-4731 plants 2.2
-4732 pan 2.2
-4733 protest 2.2
-4734 presenting 2.2
-4735 swept 2.2
-4736 alternative 2.2
-4737 morons 2.2
-4738 sadly 2.2
-4739 spinning 2.2
-4740 rolls 2.2
-4741 farts 2.2
-4742 schemes 2.2
-4743 despite 2.2
-4744 occasional 2.2
-4745 spells 2.2
-4746 models 2.2
-4747 tearing 2.2
-4748 chemicals 2.2
-4749 sharing 2.2
-4750 released 2.2
-4751 barrel 2.2
-4752 tab 2.2
-4753 hunter 2.2
-4754 underground 2.2
-4755 cowboy 2.2
-4756 wedded 2.2
-4757 shiny 2.2
-4758 connie 2.2
-4759 hyah 2.2
-4760 emotional 2.2
-4761 willie's 2.2
-4762 aid 2.2
-4763 sticking 2.2
-4764 do| 2.2
-4765 reunion 2.2
-4766 yogurt 2.2
-4767 trusted 2.15
-4768 presence 2.15
-4769 engaged 2.15
-4770 wuss 2.15
-4771 boots 2.15
-4772 assistance 2.15
-4773 wound 2.15
-4774 begging 2.15
-4775 globe 2.15
-4776 anchor 2.15
-4777 include 2.15
-4778 dye 2.15
-4779 resumes 2.15
-4780 tribute 2.15
-4781 precisely 2.15
-4782 stan 2.15
-4783 shady 2.15
-4784 complicated 2.15
-4785 sideburns 2.15
-4786 actors 2.15
-4787 casual 2.15
-4788 lunchtime 2.15
-4789 ease 2.15
-4790 dee 2.15
-4791 salesman 2.15
-4792 bumper 2.15
-4793 100% 2.15
-4794 nobel 2.15
-4795 louie 2.15
-4796 deck 2.15
-4797 witnesses 2.15
-4798 cheek 2.15
-4799 murderous 2.15
-4800 imagined 2.15
-4801 marketing 2.15
-4802 expired 2.15
-4803 catfish 2.15
-4804 objects 2.15
-4805 mush 2.15
-4806 sheriff 2.15
-4807 entertaining 2.15
-4808 prisoner 2.15
-4809 monte 2.15
-4810 tips 2.15
-4811 korean 2.15
-4812 disney 2.15
-4813 constitution 2.15
-4814 capture 2.15
-4815 exclusive 2.15
-4816 teenagers 2.15
-4817 luke 2.15
-4818 motorcycle 2.15
-4819 aim 2.15
-4820 sleigh 2.15
-4821 vietnam 2.15
-4822 images 2.15
-4823 halftime 2.15
-4824 allen 2.15
-4825 guarantee 2.15
-4826 patrick's 2.15
-4827 carpet 2.15
-4828 moist 2.15
-4829 scientist 2.15
-4830 lightning 2.15
-4831 eugene 2.15
-4832 shattering 2.15
-4833 joes 2.15
-4834 dinosaur 2.15
-4835 profit 2.15
-4836 clumsy 2.15
-4837 johnson 2.15
-4838 added 2.15
-4839 attorney 2.15
-4840 refreshing 2.15
-4841 buns 2.15
-4842 sprinkles 2.15
-4843 steamed 2.15
-4844 hmph 2.15
-4845 shocked 2.15
-4846 meaningless 2.1
-4847 shining 2.1
-4848 lunches 2.1
-4849 votes 2.1
-4850 pledge 2.1
-4851 caramel 2.1
-4852 scientists 2.1
-4853 respected 2.1
-4854 michigan 2.1
-4855 exotic 2.1
-4856 conscience 2.1
-4857 scum 2.1
-4858 bulletin 2.1
-4859 typing 2.1
-4860 disgrace 2.1
-4861 snickers 2.1
-4862 oliver 2.1
-4863 offering 2.1
-4864 experiment 2.1
-4865 pine 2.1
-4866 dolly 2.1
-4867 dramatic 2.1
-4868 oui 2.1
-4869 feedback 2.1
-4870 banks 2.1
-4871 terms 2.1
-4872 sends 2.1
-4873 donuts 2.1
-4874 practical 2.1
-4875 limit 2.1
-4876 republican 2.1
-4877 batter 2.1
-4878 wishes 2.1
-4879 throughout 2.1
-4880 claims 2.1
-4881 rainier 2.1
-4882 isolated 2.1
-4883 weekly 2.1
-4884 sells 2.1
-4885 abbey 2.1
-4886 fold 2.1
-4887 beware 2.1
-4888 zombie 2.1
-4889 mill 2.1
-4890 assembly 2.1
-4891 phase 2.1
-4892 snaps 2.1
-4893 sizzling 2.1
-4894 rodeo 2.1
-4895 sheets 2.1
-4896 toward 2.1
-4897 opposed 2.1
-4898 domestic 2.1
-4899 frog 2.1
-4900 firm 2.1
-4901 myth 2.1
-4902 supervising 2.1
-4903 oaf 2.1
-4904 stepped 2.1
-4905 puff 2.1
-4906 rented 2.1
-4907 riviera 2.1
-4908 pawn 2.1
-4909 committed 2.1
-4910 adopted 2.1
-4911 crooked 2.1
-4912 stereo 2.1
-4913 marks 2.1
-4914 blamed 2.1
-4915 cocoa 2.1
-4916 compared 2.1
-4917 ribbon 2.1
-4918 worthy 2.1
-4919 dimoxinil 2.1
-4920 destroying 2.1
-4921 bellowing 2.1
-4922 dancer 2.1
-4923 hooray 2.1
-4924 elbow 2.1
-4925 concludes 2.1
-4926 mummy 2.1
-4927 stairs 2.1
-4928 corners 2.1
-4929 shauna 2.1
-4930 attacks 2.1
-4931 degrees 2.1
-4932 shift 2.1
-4933 denis 2.1
-4934 drederick 2.1
-4935 ski 2.1
-4936 italy 2.1
-4937 ta 2.05
-4938 royal 2.05
-4939 nearby 2.05
-4940 concern 2.05
-4941 nancy 2.05
-4942 leary 2.05
-4943 yello 2.05
-4944 authorities 2.05
-4945 game's 2.05
-4946 answering 2.05
-4947 buttocks 2.05
-4948 w 2.05
-4949 exception 2.05
-4950 cracked 2.05
-4951 stones 2.05
-4952 coal 2.05
-4953 mischief 2.05
-4954 hisses 2.05
-4955 cawing 2.05
-4956 eyeballs 2.05
-4957 broadcasting 2.05
-4958 weigh 2.05
-4959 lets 2.05
-4960 unbelievable 2.05
-4961 print 2.05
-4962 waffles 2.05
-4963 crotch 2.05
-4964 differences 2.05
-4965 stupidest 2.05
-4966 collar 2.05
-4967 honeybunny 2.05
-4968 smartest 2.05
-4969 downloaded 2.05
-4970 tournament 2.05
-4971 ten-year-old 2.05
-4972 slim 2.05
-4973 slight 2.05
-4974 honestly 2.05
-4975 refer 2.05
-4976 broad 2.05
-4977 solar 2.05
-4978 bombardment 2.05
-4979 connection 2.05
-4980 grocery 2.05
-4981 whiz 2.05
-4982 that'd 2.05
-4983 inch 2.05
-4984 officially 2.05
-4985 determined 2.05
-4986 proven 2.05
-4987 whoop-dee-do 2.05
-4988 ink 2.05
-4989 discover 2.05
-4990 pencils 2.05
-4991 fooled 2.05
-4992 wooden 2.05
-4993 stopping 2.05
-4994 bra 2.05
-4995 annie 2.05
-4996 offered 2.05
-4997 boil 2.05
-4998 goodman 2.05
-4999 repay 2.05
-5000 classical 2.05
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
deleted file mode 100644
index 262bc1d..0000000
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
+++ /dev/null
@@ -1,37 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.junit.Test;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 2/3/13
- * Time: 2:08 PM
- * To change this template use File | Settings | File Templates.
- */
-public class LogGeneratorTest {
- @Test
- public void testSample() {
- LogGenerator gen = new LogGenerator();
- for (int i = 0; i < 1000; i++) {
- System.out.printf("%s\n", gen.sample());
- }
- }
-}
[22/29] git commit: DRILL-221: continued,
add Apache header to poms. Update checksum plugin to not fail on pom
projects.
Posted by ja...@apache.org.
DRILL-221: continued, add Apache header to poms. Update checksum plugin to not fail on pom projects.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/0a5e682d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/0a5e682d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/0a5e682d
Branch: refs/heads/master
Commit: 0a5e682d0727a166dd173ef60d1ae781e1496b52
Parents: 1c91fdf
Author: Jacques Nadeau <ja...@apache.org>
Authored: Tue Sep 10 17:48:56 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 17:49:21 2013 -0700
----------------------------------------------------------------------
common/pom.xml | 16 ++++++++++++++++
contrib/pom.xml | 16 ++++++++++++++++
contrib/sqlline/pom.xml | 16 ++++++++++++++++
contrib/storage-hbase/pom.xml | 16 ++++++++++++++++
contrib/synth-log/pom.xml | 18 +++++++++++++++++-
distribution/pom.xml | 16 ++++++++++++++++
exec/java-exec/pom.xml | 16 ++++++++++++++++
exec/pom.xml | 16 ++++++++++++++++
exec/ref/pom.xml | 16 ++++++++++++++++
pom.xml | 17 +++++++++++++++++
sqlparser/pom.xml | 16 ++++++++++++++++
11 files changed, 178 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index 4c4a2fc..d801aa8 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/contrib/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/pom.xml b/contrib/pom.xml
index 4965823..3a9fb20 100644
--- a/contrib/pom.xml
+++ b/contrib/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/contrib/sqlline/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/sqlline/pom.xml b/contrib/sqlline/pom.xml
index 1e80e5d..060df14 100644
--- a/contrib/sqlline/pom.xml
+++ b/contrib/sqlline/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/contrib/storage-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/storage-hbase/pom.xml b/contrib/storage-hbase/pom.xml
index a13b970..9a538ef 100644
--- a/contrib/storage-hbase/pom.xml
+++ b/contrib/storage-hbase/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/contrib/synth-log/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/synth-log/pom.xml b/contrib/synth-log/pom.xml
index a8c4e6c..b46d869 100644
--- a/contrib/synth-log/pom.xml
+++ b/contrib/synth-log/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
@@ -64,4 +80,4 @@
</plugins>
</build>
-</project>
\ No newline at end of file
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/distribution/pom.xml
----------------------------------------------------------------------
diff --git a/distribution/pom.xml b/distribution/pom.xml
index dd90547..b855e90 100644
--- a/distribution/pom.xml
+++ b/distribution/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/exec/java-exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/java-exec/pom.xml b/exec/java-exec/pom.xml
index a0fb70a..1c5af4b 100644
--- a/exec/java-exec/pom.xml
+++ b/exec/java-exec/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/exec/pom.xml
----------------------------------------------------------------------
diff --git a/exec/pom.xml b/exec/pom.xml
index 75aafb6..f0601dc 100644
--- a/exec/pom.xml
+++ b/exec/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/exec/ref/pom.xml
----------------------------------------------------------------------
diff --git a/exec/ref/pom.xml b/exec/ref/pom.xml
index f819ff1..c7f74e0 100644
--- a/exec/ref/pom.xml
+++ b/exec/ref/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 18fd77f..30bffd0 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@@ -379,6 +395,7 @@
<algorithm>MD5</algorithm>
<algorithm>SHA-1</algorithm>
</algorithms>
+ <failOnError>false</failOnError>
</configuration>
</plugin>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/0a5e682d/sqlparser/pom.xml
----------------------------------------------------------------------
diff --git a/sqlparser/pom.xml b/sqlparser/pom.xml
index 831d9fb..bdde6f4 100644
--- a/sqlparser/pom.xml
+++ b/sqlparser/pom.xml
@@ -1,4 +1,20 @@
<?xml version="1.0"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
[21/29] git commit: DRILL-224: Add md5 and sha1 checksums to source
tarball. Additionally,
update pom to use local assembly plugin rather than apache release one so we
can customize excludes to include .gitignore and sandbox.
Posted by ja...@apache.org.
DRILL-224: Add md5 and sha1 checksums to source tarball.
Additionally, update pom to use local assembly plugin rather than apache release one so we can customize excludes to include .gitignore and sandbox.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/1c91fdf5
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/1c91fdf5
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/1c91fdf5
Branch: refs/heads/master
Commit: 1c91fdf5bc9f4db92a06ee45af2dd9fca1f72db2
Parents: f526e4f
Author: Jacques Nadeau <ja...@apache.org>
Authored: Tue Sep 10 17:33:48 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 17:34:04 2013 -0700
----------------------------------------------------------------------
pom.xml | 135 ++++++++++++++++++++++++++++++----
src/assembly/source-assembly.xml | 71 ++++++++++++++++++
2 files changed, 192 insertions(+), 14 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/1c91fdf5/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 3fc2ee1..18fd77f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,7 +21,6 @@
<proto.cas.path>${project.basedir}/src/main/protobuf/</proto.cas.path>
<dep.junit.version>4.11</dep.junit.version>
<dep.slf4j.version>1.7.5</dep.slf4j.version>
- <sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
</properties>
<scm>
@@ -81,6 +80,7 @@
<build>
<plugins>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
@@ -106,6 +106,7 @@
</configuration>
</plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
@@ -160,6 +161,7 @@
</execution>
</executions>
</plugin>
+
</plugins>
<pluginManagement>
@@ -186,6 +188,18 @@
</configuration>
</plugin>
<plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-release-plugin</artifactId>
+ <version>2.4.1</version>
+ <configuration>
+ <useReleaseProfile>false</useReleaseProfile>
+ <pushChanges>false</pushChanges>
+ <goals>deploy</goals>
+ <arguments>-Pdrill-release ${arguments}</arguments>
+ </configuration>
+ </plugin>
+
+ <plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
@@ -194,7 +208,7 @@
</configuration>
</plugin>
- <!--This plugin's configuration is used to store Eclipse m2e settings
+ <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
@@ -275,18 +289,6 @@
</lifecycleMappingMetadata>
</configuration>
</plugin>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <executions>
- <execution>
- <id>source-release-assembly</id>
- <configuration>
- <finalName>apache-drill-${project.version}</finalName>
- <tarLongFileMode>gnu</tarLongFileMode>
- </configuration>
- </execution>
- </executions>
- </plugin>
</plugins>
</pluginManagement>
</build>
@@ -356,6 +358,111 @@
<profiles>
<profile>
+ <!-- this is heavily borrowed from the apache-root pom but updated
+ so we don't have some of the issues it has. -->
+ <id>drill-release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>net.ju-n.maven.plugins</groupId>
+ <artifactId>checksum-maven-plugin</artifactId>
+ <version>1.2</version>
+ <executions>
+ <execution>
+ <goals>
+ <goal>artifacts</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <algorithms>
+ <algorithm>MD5</algorithm>
+ <algorithm>SHA-1</algorithm>
+ </algorithms>
+ </configuration>
+ </plugin>
+
+ <!-- Create a source-release artifact that contains the fully buildable
+ project directory source structure. This is the artifact which is the official
+ subject of any release vote. -->
+ <plugin>
+ <artifactId>maven-assembly-plugin</artifactId>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.apache.resources</groupId>
+ <artifactId>apache-source-release-assembly-descriptor</artifactId>
+ <version>1.0.4</version>
+ </dependency>
+ </dependencies>
+ <executions>
+ <execution>
+ <id>source-release-assembly</id>
+ <phase>package</phase>
+ <goals>
+ <goal>single</goal>
+ </goals>
+ <configuration>
+ <runOnlyAtExecutionRoot>true</runOnlyAtExecutionRoot>
+ <descriptor>src/assembly/source-assembly.xml</descriptor>
+ <finalName>apache-drill-${project.version}</finalName>
+ <tarLongFileMode>gnu</tarLongFileMode>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to deploy the artifact to a staging location for perusal -->
+ <plugin>
+ <inherited>true</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-deploy-plugin</artifactId>
+ <configuration>
+ <updateReleaseInfo>true</updateReleaseInfo>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-javadocs</id>
+ <goals>
+ <goal>jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <!-- We want to sign the artifact, the POM, and all attached artifacts -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-gpg-plugin</artifactId>
+ <configuration>
+ <passphrase>${gpg.passphrase}</passphrase>
+ <useAgent>${gpg.useagent}</useAgent>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>sign</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+ <profile>
<id>default-hadoop</id>
<activation>
<property>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/1c91fdf5/src/assembly/source-assembly.xml
----------------------------------------------------------------------
diff --git a/src/assembly/source-assembly.xml b/src/assembly/source-assembly.xml
new file mode 100644
index 0000000..bc034a4
--- /dev/null
+++ b/src/assembly/source-assembly.xml
@@ -0,0 +1,71 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ you under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
+<assembly>
+ <id>source-release</id>
+ <formats>
+ <format>zip</format>
+ <format>tar.gz</format>
+ </formats>
+ <fileSets>
+ <!-- main project directory structure -->
+ <fileSet>
+ <directory>.</directory>
+ <outputDirectory>/</outputDirectory>
+ <useDefaultExcludes>true</useDefaultExcludes>
+ <excludes>
+ <!-- build output -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/).*${project.build.directory}.*]</exclude>
+
+ <!-- NOTE: Most of the following excludes should not be required
+ if the standard release process is followed. This is because the release
+ plugin checks out project sources into a location like target/checkout, then
+ runs the build from there. The result is a source-release archive that comes
+ from a pretty clean directory structure. HOWEVER, if the release plugin is
+ configured to run extra goals or generate a project website, it's definitely
+ possible that some of these files will be present. So, it's safer to exclude
+ them. -->
+
+ <!-- IDEs -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?maven-eclipse\.xml]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.project]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.classpath]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iws]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.idea(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?out(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.ipr]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?[^/]*\.iml]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.settings(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.externalToolBuilders(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.deployables(/.*)?]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.wtpmodules(/.*)?]</exclude>
+
+
+ <!-- scm -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?\.gitignore(/.*)?]</exclude>
+
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?sandbox(/.*)?]</exclude>
+
+ <!-- misc -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?cobertura\.ser]</exclude>
+
+ <!-- release-plugin temp files -->
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?pom\.xml\.releaseBackup]</exclude>
+ <exclude>%regex[(?!((?!${project.build.directory}/)[^/]+/)*src/)(.*/)?release\.properties]</exclude>
+ </excludes>
+ </fileSet>
+ <!-- license, readme, etc. calculated at build time -->
+ <fileSet>
+ <directory>${project.build.directory}/maven-shared-archive-resources/META-INF</directory>
+ <outputDirectory>/</outputDirectory>
+ </fileSet>
+ </fileSets>
+</assembly>
[13/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/CastFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/CastFunctions.java b/exec/java-exec/src/main/codegen/templates/CastFunctions.java
index 4320c2a..85a00b0 100644
--- a/exec/java-exec/src/main/codegen/templates/CastFunctions.java
+++ b/exec/java-exec/src/main/codegen/templates/CastFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/ComparisonFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/ComparisonFunctions.java b/exec/java-exec/src/main/codegen/templates/ComparisonFunctions.java
index d30783a..ba9da07 100644
--- a/exec/java-exec/src/main/codegen/templates/ComparisonFunctions.java
+++ b/exec/java-exec/src/main/codegen/templates/ComparisonFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<#macro compareBlock mode left right output nullCompare>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/FixedValueVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/FixedValueVectors.java b/exec/java-exec/src/main/codegen/templates/FixedValueVectors.java
index 9227532..c357dd6 100644
--- a/exec/java-exec/src/main/codegen/templates/FixedValueVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/FixedValueVectors.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<#list vv.types as type>
<#list type.minor as minor>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
index 25249ff..051c62d 100644
--- a/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/NullableValueVectors.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
import org.apache.drill.exec.vector.NullableVectorDefinitionSetter;
import java.lang.UnsupportedOperationException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/RepeatedValueVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/RepeatedValueVectors.java b/exec/java-exec/src/main/codegen/templates/RepeatedValueVectors.java
index faf9772..127c6fd 100644
--- a/exec/java-exec/src/main/codegen/templates/RepeatedValueVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/RepeatedValueVectors.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<#list vv.types as type>
<#list type.minor as minor>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/TypeHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/TypeHelper.java b/exec/java-exec/src/main/codegen/templates/TypeHelper.java
index 51521bb..783f943 100644
--- a/exec/java-exec/src/main/codegen/templates/TypeHelper.java
+++ b/exec/java-exec/src/main/codegen/templates/TypeHelper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<@pp.changeOutputFile name="/org/apache/drill/exec/expr/TypeHelper.java" />
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/ValueHolders.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/ValueHolders.java b/exec/java-exec/src/main/codegen/templates/ValueHolders.java
index f0983b7..41dc049 100644
--- a/exec/java-exec/src/main/codegen/templates/ValueHolders.java
+++ b/exec/java-exec/src/main/codegen/templates/ValueHolders.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<#list vv.modes as mode>
<#list vv.types as type>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java b/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
index 05d35fd..57927a7 100644
--- a/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
+++ b/exec/java-exec/src/main/codegen/templates/VariableLengthVectors.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
<@pp.dropOutputFile />
<#list vv.types as type>
<#list type.minor as minor>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java b/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
index 5ecadff..78d8ac6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/ExecConstants.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec;
public interface ExecConstants {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/DistributedCache.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/DistributedCache.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/DistributedCache.java
index ba2c26b..d1b0e89 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/DistributedCache.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/DistributedCache.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/HazelCache.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/HazelCache.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/HazelCache.java
index fe4a212..22435bd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/HazelCache.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/HazelCache.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/LocalCache.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/LocalCache.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/LocalCache.java
index b656f2d..79675c3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/LocalCache.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/LocalCache.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufImpl.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufImpl.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufImpl.java
index 46bb9ee..d03eac8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufImpl.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufImpl.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import org.apache.drill.exec.proto.ExecProtos.FragmentHandle;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufWrap.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufWrap.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufWrap.java
index c3a9160..4aea645 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufWrap.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoBufWrap.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import java.io.DataInput;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoMap.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoMap.java b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoMap.java
index dac8201..e2e59d4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoMap.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/cache/ProtoMap.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.cache;
import com.google.common.base.Preconditions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java b/exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java
index de16f64..1c05e14 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/client/DrillClient.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.client;
import static com.google.common.base.Preconditions.checkState;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/client/QuerySubmitter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/client/QuerySubmitter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/client/QuerySubmitter.java
index 4ef0e9f..4beaa53 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/client/QuerySubmitter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/client/QuerySubmitter.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.client;
import com.beust.jcommander.internal.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassBodyBuilder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassBodyBuilder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassBodyBuilder.java
index ac44484..79aa2a2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassBodyBuilder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassBodyBuilder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
/*
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassCompiler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassCompiler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassCompiler.java
index 0fb0115..e438ed0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassCompiler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassCompiler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java
index 4a934f9..642a309 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JDKClassCompiler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JDKClassCompiler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JDKClassCompiler.java
index 8f6e572..f20cd7d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JDKClassCompiler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JDKClassCompiler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JaninoClassCompiler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JaninoClassCompiler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JaninoClassCompiler.java
index 154aca4..3abe0dd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JaninoClassCompiler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/JaninoClassCompiler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/QueryClassLoader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/QueryClassLoader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/QueryClassLoader.java
index 7feca09..9b36777 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/QueryClassLoader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/QueryClassLoader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java
index a15d34d..3ac155e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/TemplateClassDefinition.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import org.apache.drill.exec.compile.sig.SignatureHolder;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorArgument.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorArgument.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorArgument.java
index f1715b2..eacecfb 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorArgument.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorArgument.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorMethod.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorMethod.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorMethod.java
index 11dcbe9..9fe0cf3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorMethod.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorMethod.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.lang.reflect.Method;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorSignature.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorSignature.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorSignature.java
index f294fe7..956171d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorSignature.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/CodeGeneratorSignature.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/ConstantExpressionIdentifier.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/ConstantExpressionIdentifier.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/ConstantExpressionIdentifier.java
index 62e6837..46dbbe9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/ConstantExpressionIdentifier.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/ConstantExpressionIdentifier.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/GeneratorMapping.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/GeneratorMapping.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/GeneratorMapping.java
index 09639df..84f481b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/GeneratorMapping.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/GeneratorMapping.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import org.apache.drill.exec.expr.CodeGenerator.BlockType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/MappingSet.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/MappingSet.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/MappingSet.java
index b95c55c..1cb2380 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/MappingSet.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/MappingSet.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/Signature.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/Signature.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/Signature.java
index ea49d96..54fa3d6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/Signature.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/Signature.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/SignatureHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/SignatureHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/SignatureHolder.java
index 8f79983..848a32c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/SignatureHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/SignatureHolder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.lang.reflect.Method;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVReadBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVReadBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVReadBatch.java
index c20c6d8..9eb5d53 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVReadBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVReadBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVWriteBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVWriteBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVWriteBatch.java
index be07c6d..bd362a3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVWriteBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/compile/sig/VVWriteBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.compile.sig;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ClusterCoordinator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ClusterCoordinator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ClusterCoordinator.java
index 7fb1f5b..b832e31 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ClusterCoordinator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ClusterCoordinator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillServiceInstanceHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillServiceInstanceHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillServiceInstanceHelper.java
index 289aa3c..9573741 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillServiceInstanceHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillServiceInstanceHelper.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import org.apache.drill.exec.ExecConstants;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillbitEndpointSerDe.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillbitEndpointSerDe.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillbitEndpointSerDe.java
index 5886c2c..3f5c930 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillbitEndpointSerDe.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/DrillbitEndpointSerDe.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/LocalClusterCoordinator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/LocalClusterCoordinator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/LocalClusterCoordinator.java
index f7b3549..b9e54ca 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/LocalClusterCoordinator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/LocalClusterCoordinator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKClusterCoordinator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKClusterCoordinator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKClusterCoordinator.java
index b1d173d..de3ed76 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKClusterCoordinator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKClusterCoordinator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import static com.google.common.base.Throwables.propagate;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKRegistrationHandle.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKRegistrationHandle.java b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKRegistrationHandle.java
index b8a7648..9580d5d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKRegistrationHandle.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/coord/ZKRegistrationHandle.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.coord;
import org.apache.drill.exec.coord.ClusterCoordinator.RegistrationHandle;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/disk/Spool.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/disk/Spool.java b/exec/java-exec/src/main/java/org/apache/drill/exec/disk/Spool.java
index 346b531..b8d4d44 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/disk/Spool.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/disk/Spool.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.disk;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/BitComException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/BitComException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/BitComException.java
index 9c18e51..24fb311 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/BitComException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/BitComException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/ClassTransformationException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/ClassTransformationException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/ClassTransformationException.java
index 13ec95e..bb5654a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/ClassTransformationException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/ClassTransformationException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/DrillbitStartupException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/DrillbitStartupException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/DrillbitStartupException.java
index 3c36171..a9ea942 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/DrillbitStartupException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/DrillbitStartupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/FragmentSetupException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/FragmentSetupException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/FragmentSetupException.java
index dbd66b9..67e6e40 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/FragmentSetupException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/FragmentSetupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/OptimizerException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/OptimizerException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/OptimizerException.java
index ac56afb..fe3973d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/OptimizerException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/OptimizerException.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SchemaChangeException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SchemaChangeException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SchemaChangeException.java
index 24883aa..e7403a0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SchemaChangeException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SchemaChangeException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SetupException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SetupException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SetupException.java
index f249f13..e22aac0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SetupException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/exception/SetupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.exception;
import org.apache.drill.common.exceptions.DrillException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/CodeGenerator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/CodeGenerator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/CodeGenerator.java
index 01929b9..2cebf5e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/CodeGenerator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/CodeGenerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import static org.apache.drill.exec.compile.sig.GeneratorMapping.GM;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DirectExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DirectExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DirectExpression.java
index ed8dfeb..a131763 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DirectExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DirectExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import com.sun.codemodel.JExpressionImpl;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillAggFunc.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillAggFunc.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillAggFunc.java
index d8a3296..b29410d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillAggFunc.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillAggFunc.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import org.apache.drill.exec.record.RecordBatch;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillFunc.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillFunc.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillFunc.java
index 81f55b3..17fb82c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillFunc.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillFunc.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
public interface DrillFunc {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillSimpleFunc.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillSimpleFunc.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillSimpleFunc.java
index ef9c7cf..8821c63 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillSimpleFunc.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/DrillSimpleFunc.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import org.apache.drill.exec.record.RecordBatch;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/EvaluationVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/EvaluationVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/EvaluationVisitor.java
index a7e576f..587fe3c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/EvaluationVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/EvaluationVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ExpressionTreeMaterializer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ExpressionTreeMaterializer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ExpressionTreeMaterializer.java
index 0a5dcdd..bb9fc25 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ExpressionTreeMaterializer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/ExpressionTreeMaterializer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.expr;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/HoldingContainerExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/HoldingContainerExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/HoldingContainerExpression.java
index da22bee..130c7fa 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/HoldingContainerExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/HoldingContainerExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/expr/SingleClassStringWriter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/SingleClassStringWriter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/SingleClassStringWriter.java
index 813a32f..f292b5e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/expr/SingleClassStringWriter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/expr/SingleClassStringWriter.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.io.IOException;
[02/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/main/antlr3/org/apache/drill/parsers/impl/drqlantlr/DrqlAntlr.g
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/main/antlr3/org/apache/drill/parsers/impl/drqlantlr/DrqlAntlr.g b/sandbox/query-parser/src/main/antlr3/org/apache/drill/parsers/impl/drqlantlr/DrqlAntlr.g
deleted file mode 100644
index 85654af..0000000
--- a/sandbox/query-parser/src/main/antlr3/org/apache/drill/parsers/impl/drqlantlr/DrqlAntlr.g
+++ /dev/null
@@ -1,289 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-grammar DrqlAntlr;
-
-options {output=AST; ASTLabelType=CommonTree; backtrack=false; k=1;}
-
-tokens {
-N_SELECT_STATEMENT;
-N_SELECT; N_COLUMN; N_COLUMN_NAME; N_ALIAS; N_WITHIN; N_WITHIN_RECORD;
-N_FROM; N_TABLE; N_TABLE_NAME;
-N_JOIN; N_INNER;N_LEFTOUTER; N_JOIN_ON; N_JOIN_ON_LIST;
-N_WHERE;
-N_GROUPBY;
-N_HAVING;
-N_ORDERBY; N_ASC; N_DESC;
-N_LIMIT;
-N_EXPRESSION; N_ID; N_NAME;N_IN; N_CALL; N_OP;N_LOGICAL_OR;N_LOGICAL_AND;
-N_BITWISE_OR;N_BITWISE_XOR;N_BITWISE_AND;N_EQUAL;N_NOT_EQUAL;N_LESS_THAN;
-N_LESS_THAN_OR_EQUAL;N_GREATER_THAN;N_LOGICAL_NOT;N_BITWISE_NOT;
-N_CONTAINS;N_REMAINDER;N_GREATER_THAN_OR_EQUAL;N_BITWISE_RIGHT_SHIFT;
-N_DIVIDE;N_MULTIPLY;N_SUBSTRUCT;N_ADD;N_BITWISE_RIGHT_SHIFT;
-N_BITWISE_LEFT_SHIFT;N_IN_PARAMS;N_CALL_PARAMS;N_INT; N_FLOAT; N_STRING;
-}
-
-@header {package org.apache.drill.parsers.impl.drqlantlr;}
-
-@lexer::header {package org.apache.drill.parsers.impl.drqlantlr;}
-
-///Starting production
-request: selectStatement (SEMICOLON!)? EOF!;
-
-//Select statement
-selectStatement: selectClause fromClause joinClause? whereClause?
- havingClause? groupbyClause? orderbyClause? limitClause?->
- ^(N_SELECT_STATEMENT fromClause selectClause joinClause? whereClause?
- groupbyClause? havingClause? orderbyClause? limitClause?);
-
-//Select clause
-selectClause: SELECT columnExpr (COMMA columnExpr)* ->
- ^(N_SELECT columnExpr+);
-
-//Expression
-columnExpr: expr withinClause? (AS ID)? ->
- ^(N_COLUMN expr ^(N_ALIAS ID)? withinClause? );
-withinClause: (WITHIN (RECORD -> ^(N_WITHIN_RECORD) | columnPath ->
- ^(N_WITHIN columnPath)));
-
-//From clause
-fromClause: FROM subSelectStatement (COMMA subSelectStatement)* ->
- ^(N_FROM subSelectStatement+);
-subSelectStatement : (tableName | (LPAREN! selectStatement RPAREN!));
-
-//Join clause (TODO add productions)
-joinClause: joinClauseDesc JOIN joinClauseFrom ON joinConditionList ->
- ^(N_JOIN joinClauseDesc joinClauseFrom joinConditionList);
-joinClauseDesc: (INNER?) -> ^(N_INNER) | (LEFT OUTER) -> ^(N_LEFTOUTER);
-joinClauseFrom: optionallyAliasedTable -> ^(N_TABLE optionallyAliasedTable) |
- aliasedSubSelectStatement -> ^(N_TABLE aliasedSubSelectStatement);
-optionallyAliasedTable: tableName (AS ID)? -> ^(N_TABLE tableName ID?);
-aliasedSubSelectStatement: LPAREN selectStatement RPAREN AS tableName ->
- ^(N_TABLE selectStatement tableName);
-joinConditionList: joinCondition (LOGICAL_AND joinCondition)* ->
- ^(N_JOIN_ON_LIST joinCondition+);
-joinCondition: a=columnPath EQUAL b=columnPath -> ^(N_JOIN_ON $a $b);
-
-//Where Clause
-whereClause: WHERE expr -> ^(N_WHERE expr);
-
-//Groupby Clause
-groupbyClause: GROUPBY columnName (COMMA columnName)* ->
- ^(N_GROUPBY columnName+);
-
-//Having Clause
-havingClause: HAVING expr -> ^(N_HAVING expr);
-
-//Orderby Clause
-orderbyClause: ( ORDERBY orderbyColumnName (COMMA orderbyColumnName)*) ->
- ^(N_ORDERBY orderbyColumnName+);
-orderbyColumnName: columnName (ASC -> ^(N_ASC columnName) | DESC ->
- ^(N_DESC columnName) | /* default sort order */ -> ^(N_ASC columnName));
-
-//Limit clause
-limitClause: ( LIMIT INT ) -> ^(N_LIMIT INT);
-
-///Column names
-columnPath: columnPath2 -> ^(N_ID columnPath2);
-columnPath2: columnName (DOT! columnName)*;
-columnName: ID -> ^(N_NAME ID) | STAR -> ^(N_NAME STAR);
-
-//Table names
-tablePath: tablePath2 -> ^(N_TABLE tablePath2);
-tablePath2: tableName (DOT! tableName)*;
-tableName: ID -> ^(N_TABLE_NAME ID);
-
-//Expressions
-expr: expr2 -> ^(N_EXPRESSION expr2);
-expr2:(a=b10e->$a) (o=b11o b=b10e -> ^($o $expr2 $b))*;
-b10e: (a=b9e->$a) (o=b10o b=b9e -> ^($o $b10e $b))*;
-b9e: (a=b8e->$a) (o=b9o b=b8e -> ^($o $b9e $b))*;
-b8e: (a=b7e->$a) (o=b8o b=b7e -> ^($o $b8e $b))*;
-b7e: (a=b6e->$a) (o=b7o b=b6e -> ^($o $b7e $b))*;
-b6e: (a=b5e->$a) (o=b6o b=b5e -> ^($o $b6e $b))*;
-b5e: (a=b4e->$a) (o=b5o b=b4e -> ^($o $b5e $b))*;
-b4e: (a=b3e->$a) (o=b4o b=b3e -> ^($o $b4e $b))*;
-b3e: (a=b2e->$a) (o=b3o b=b2e -> ^($o $b3e $b))*;
-b2e: (a=b1e->$a) (o=b2o b=b1e -> ^($o $b2e $b))*;
-b1e: (a=uPrefixExpr->$a) (o=b1o b=uPrefixExpr -> ^($o $b1e $b))*;
-uPrefixExpr: (o=uPrefixOp->^($o $uPrefixExpr))* (a=uPostfixExpr -> $a);
-uPostfixExpr: (a=atomExpr->$a) (o=uPostfixOp -> ^($o $uPostfixExpr))*;
-atomExpr: INT -> ^(N_INT INT)
- | FLOAT -> ^(N_FLOAT FLOAT)
- | STRING -> ^(N_STRING STRING)
- | (LPAREN expr RPAREN) -> expr
- | columnPath;
-
-//Ops
-b11o: LOGICAL_OR -> N_LOGICAL_OR;
-b10o: LOGICAL_AND-> N_LOGICAL_AND;
-b9o: BITWISE_OR -> N_BITWISE_OR;
-b8o: BITWISE_XOR-> N_BITWISE_XOR;
-b7o: BITWISE_AND-> N_BITWISE_AND;
-b6o: EQUAL -> N_EQUAL | NOT_EQUAL -> N_NOT_EQUAL;
-b5o: LESS_THAN -> N_LESS_THAN | LESS_THAN_OR_EQUAL -> N_LESS_THAN_OR_EQUAL |
- GREATER_THAN -> N_GREATER_THAN |
- GREATER_THAN_OR_EQUAL -> N_GREATER_THAN_OR_EQUAL;
-b4o: BITWISE_LEFT_SHIFT -> N_BITWISE_LEFT_SHIFT |
- BITWISE_RIGHT_SHIFT -> N_BITWISE_RIGHT_SHIFT;
-b3o: ADD -> N_ADD | SUBSTRUCT -> N_SUBSTRUCT;
-b2o: multiplyOp -> N_MULTIPLY |
- divideOp -> N_DIVIDE | REMAINDER -> N_REMAINDER;
-b1o: CONTAINS -> N_CONTAINS;
-uPrefixOp: BITWISE_NOT -> N_BITWISE_NOT | LOGICAL_NOT -> N_LOGICAL_NOT;
-uPostfixOp: uPostfixOpIn | uPostfixOpCall;
-uPostfixOpIn: IN LPAREN (expr (COMMA expr)*)? RPAREN -> ^(N_IN_PARAMS expr*);
-uPostfixOpCall: LPAREN (expr (COMMA expr)*)? RPAREN -> ^(N_CALL_PARAMS expr*);
-
-//Name clash grapheme ops
-divideOp: SLASH | DIV;
-multiplyOp: STAR;
-
-
-//Keywords
-SELECT : S E L E C T ;
-WITHIN : W I T H I N ;
-RECORD : R E C O R D ;
-AS :A S ;
-FROM : F R O M ;
-INNER : I N N E R;
-LEFT : L E F T;
-OUTER : O U T E R;
-JOIN : J O I N;
-ON : O N;
-WHERE : W H E R E ;
-GROUPBY : G R O U P WS B Y;
-HAVING : H A V I N G;
-ORDERBY : O R D E R WS B Y;
-DESC : D E S C;
-ASC : A S C;
-LIMIT : L I M I T;
-LOGICAL_OR : O R;
-LOGICAL_AND : A N D;
-LOGICAL_NOT : N O T;
-CONTAINS : C O N T A I N S ;
-IN : I N;
-
-//Graphemes
-BITWISE_AND : '&';
-BITWISE_NOT : '~';
-BITWISE_OR : '|';
-BITWISE_XOR : '^';
-EQUAL : '=' | '==';
-NOT_EQUAL : '<>' | '!=';
-LESS_THAN_OR_EQUAL: '<=';
-LESS_THAN : '<';
-GREATER_THAN_OR_EQUAL: '>=';
-GREATER_THAN: '>';
-SLASH : '/';
-DIV : ' D I V';
-STAR : '*';
-ADD : '+';
-SUBSTRUCT : '-';
-REMAINDER : '%';
-BITWISE_LEFT_SHIFT: '<<';
-BITWISE_RIGHT_SHIFT: '>>';
-DOT : '.';
-COLON : ':';
-COMMA : ',';
-SEMICOLON : ';';
-LPAREN : '(';
-RPAREN : ')';
-LSQUARE : '[' ;
-RSQUARE : ']' ;
-LCURLY : '{';
-RCURLY : '}';
-
-//Lexemes
-ID: F_ID1 | F_ID2;
-fragment F_ID1: ('a'..'z'|'A'..'Z'|'_') ('a'..'z'|'A'..'Z'|'0'..'9'|'_')* ;
-fragment F_ID2: '[' ('a'..'z'|'A'..'Z'|'0'..'9'|'_'|' '|'\\'|'/'|'-'|'+'|'*'|'.'|':'|'$')* ']';
-
-INT : '0'..'9'+
- ;
-
-FLOAT
- : ('0'..'9')+ '.' ('0'..'9')* EXPONENT?
- | '.' ('0'..'9')+ EXPONENT?
- | ('0'..'9')+ EXPONENT
- ;
-
-COMMENT
- : '//' ~('\n'|'\r')* '\r'? '\n' {$channel=HIDDEN;};
-
-WS : ( ' '
- | '\t'
- | '\r'
- | '\n'
- ) {$channel=HIDDEN;}
- ;
-
-STRING
- : '\'' ( ESC_SEQ | ~('\\'|'\'') )* '\''
- ;
-
-fragment
-EXPONENT : ('e'|'E') ('+'|'-')? ('0'..'9')+ ;
-
-fragment
-HEX_DIGIT : ('0'..'9'|'a'..'f'|'A'..'F') ;
-
-fragment
-ESC_SEQ
- : '\\' ('b'|'t'|'n'|'f'|'r'|'\"'|'\''|'\\')
- | UNICODE_ESC
- | OCTAL_ESC
- ;
-
-fragment
-OCTAL_ESC
- : '\\' ('0'..'3') ('0'..'7') ('0'..'7')
- | '\\' ('0'..'7') ('0'..'7')
- | '\\' ('0'..'7')
- ;
-
-fragment
-UNICODE_ESC
- : '\\' 'u' HEX_DIGIT HEX_DIGIT HEX_DIGIT HEX_DIGIT
- ;
-
-//Case insensetive letters, pretty ugly (or beautiful) but I haven't found a better way, sorry
-fragment A:('a'|'A');
-fragment B:('b'|'B');
-fragment C:('c'|'C');
-fragment D:('d'|'D');
-fragment E:('e'|'E');
-fragment F:('f'|'F');
-fragment G:('g'|'G');
-fragment H:('h'|'H');
-fragment I:('i'|'I');
-fragment J:('j'|'J');
-fragment K:('k'|'K');
-fragment L:('l'|'L');
-fragment M:('m'|'M');
-fragment N:('n'|'N');
-fragment O:('o'|'O');
-fragment P:('p'|'P');
-fragment Q:('q'|'Q');
-fragment R:('r'|'R');
-fragment S:('s'|'S');
-fragment T:('t'|'T');
-fragment U:('u'|'U');
-fragment V:('v'|'V');
-fragment W:('w'|'W');
-fragment X:('x'|'X');
-fragment Y:('y'|'Y');
-fragment Z:('z'|'Z');
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/main/java/org/apache/drill/parsers/DrqlParser.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/DrqlParser.java b/sandbox/query-parser/src/main/java/org/apache/drill/parsers/DrqlParser.java
deleted file mode 100644
index 19ca4b5..0000000
--- a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/DrqlParser.java
+++ /dev/null
@@ -1,92 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.parsers;
-
-import java.util.List;
-
-//TODO add java docs
-public interface DrqlParser {
- interface SemanticModelReader {
- interface Symbol {
- enum Type {
- TABLE, COLUMN, COLUMN_ALIAS, FUNCTION, AGG_FUNCTION
- }
- Type getType();
- String getName();
- List<String> getNameComponents();
- boolean isAlias();
- Symbol getAlisasedSymbol();
- Symbol getAliasSymbol();
- }
- interface ResultColumn {
- enum Scope {FULL, RECORD, COLUMN}
- Scope getScope();
- Symbol getColumnScope();
- Symbol getAlias();
- Expression getExpression();
- }
- interface Expression {
- interface BinaryOp extends Expression {
- enum Operators {CONTAINS, GREATER_THAN, GREATER_THAN_OR_EQUAL,
- LESS_THAN, LESS_THAN_OR_EQUAL, EQUAL, AND, OR, ADD, SUBTRACT,
- MULTIPLY, DIVIDE}
- Expression getLeftExpression();
- Expression getRightExpression();
- Operators getOperator();
- }
-
- interface UnaryOp extends Expression {
- Expression getExpression();
- String getOperator();
- }
-
- interface Constant extends Expression {
- Object getValue();
- }
-
- interface Column extends Expression {
- Symbol getSymbol();
- }
-
- interface Function extends Expression {
- Symbol getSymbol();
- List<Expression> getArgs();
- }
-
- }
- interface JoinOnClause {
- interface JoinCondition {
- Symbol getLeftSymbol();
- Symbol getRightSymbol();
- }
- Symbol getTable();
- List<JoinCondition> getJoinConditionClause();
- }
-
- //Any 'from' clause item is modeled as DrqlQuery
- boolean isJustATable();
- Symbol getjustATable();
-
- List<SemanticModelReader> getFromClause();
- List<ResultColumn> getResultColumnList();
- List<Symbol> getGroupByClause();
- List<Symbol> getOrderByClause();
- JoinOnClause getJoinOnClause();
- Expression getWhereClause();
- Integer getLimitClause();
- }
- SemanticModelReader parse(String drqlQueryText);
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AntlrParser.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AntlrParser.java b/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AntlrParser.java
deleted file mode 100644
index 4e93bb6..0000000
--- a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AntlrParser.java
+++ /dev/null
@@ -1,747 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.parsers.impl.drqlantlr;
-
-import java.util.ArrayList;
-import java.util.List;
-
-import org.antlr.runtime.ANTLRStringStream;
-import org.antlr.runtime.CharStream;
-import org.antlr.runtime.Token;
-import org.antlr.runtime.TokenRewriteStream;
-import org.antlr.runtime.tree.CommonTree;
-import org.antlr.runtime.tree.CommonTreeAdaptor;
-import org.antlr.runtime.tree.Tree;
-import org.antlr.runtime.tree.TreeAdaptor;
-
-import org.apache.drill.parsers.DrqlParser;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression.BinaryOp.Operators;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Symbol.Type;
-import org.apache.drill.parsers.impl.drqlantlr.SemanticModel.Symbol;
-import org.junit.Assert;
-
-import static org.junit.Assert.assertEquals;
-
-public class AntlrParser implements DrqlParser{
- /**
- * ANTLRNoCaseStringStream. //This class provides and implementation for a
- * case insensitive token checker //for the lexical analysis part of antlr.
- * By converting the token stream into //upper case at the time when lexical
- * rules are checked, this class ensures that the //lexical rules need to
- * just match the token with upper case letters as opposed to //combination
- * of upper case and lower case characters. This is purely used for matching
- * lexical //rules. The actual token text is stored in the same way as the
- * user input without //actually converting it into an upper case. The token
- * values are generated by the consume() //function of the super class
- * ANTLRStringStream. The LA() function is the lookahead function //and is
- * purely used for matching lexical rules. This also means that the grammar
- * will only //accept capitalized tokens in case it is run from other tools
- * like antlrworks which //do not have the ANTLRNoCaseStringStream
- * implementation.
- */
- static class ANTLRNoCaseStringStream extends ANTLRStringStream {
-
- public ANTLRNoCaseStringStream(String input) {
- super(input);
- }
-
- @Override
- public int LA(int i) {
-
- int returnChar = super.LA(i);
- if (returnChar == CharStream.EOF) {
- return returnChar;
- } else if (returnChar == 0) {
- return returnChar;
- }
-
- return Character.toUpperCase((char) returnChar);
- }
- }
- static final TreeAdaptor adaptor = new CommonTreeAdaptor() {
- @Override
- public Object create(Token payload) {
- return new AstNode(payload);
- }
- };
- @Override
- public SemanticModel parse(String drqlQueryText) {
- AstNode node = parseToAst(drqlQueryText);
- SemanticModel query =
- new SemanticModel();
- parseSelectStatement(node, query);
- return query;
- }
- public static AstNode parseToAst(String drQl) {
- try {
- DrqlAntlrLexer lexer = new DrqlAntlrLexer(new ANTLRNoCaseStringStream(drQl));
- TokenRewriteStream tokens = new TokenRewriteStream(lexer);
- DrqlAntlrParser parser = new DrqlAntlrParser(tokens);
- parser.setTreeAdaptor(adaptor);
- return (AstNode) parser.selectStatement().getTree();
- } catch(Exception ex) {
- throw new RuntimeException("Parsing of the query "+drQl + " has failed", ex);
- }
- }
- static void parseSelectStatement(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_SELECT_STATEMENT);
- int count = node.getChildCount();
- assert (count >= 2);
- parseFromClause((AstNode) node.getChild(0), query);
- parseSelectClause((AstNode) node.getChild(1), query);
- int curNode = 2;
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_JOIN) {
- parseJoinClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_WHERE) {
- parseWhereClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_GROUPBY) {
- parseGroupByClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_HAVING) {
- parseHavingClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_ORDERBY) {
- parseOrderByClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- if (node.getChild(curNode) != null && node.getChild(curNode).getType() == DrqlAntlrParser.N_LIMIT) {
- parseLimitClause((AstNode) node.getChild(curNode), query);
- curNode++;
- }
- }
- static boolean parseWithinRecordClause(AstNode node, SemanticModel.ResultColumn column) {
- assert (node.getType() == DrqlAntlrParser.N_WITHIN_RECORD);
- column.scope = DrqlParser.SemanticModelReader.ResultColumn.Scope.RECORD;
- return true;
- }
- static boolean parseWithinClause(AstNode node, SemanticModel.ResultColumn column) {
- assert (node.getType() == DrqlAntlrParser.N_WITHIN);
- column.scope = DrqlParser.SemanticModelReader.ResultColumn.Scope.COLUMN;
- column.columnScope = new Symbol();
- //column.columnScope.name = TODO add column id from AST
- return true;
- }
- static void parseColumnAlias(AstNode node, SemanticModel.ResultColumn column) {
- assert (node.getType() == DrqlAntlrParser.N_ALIAS);
- int count = node.getChildCount();
- assert ((count == 1));
- column.alias = new Symbol();
- column.alias.name = node.getChild(0).toString();
- column.alias.type = DrqlParser.SemanticModelReader.Symbol.Type.COLUMN_ALIAS;
- }
- static String idNode2String(Tree idNode) {
- StringBuilder ret = new StringBuilder();
- assert (idNode.getType() == DrqlAntlrParser.N_ID);
- assert (idNode.getChildCount() >= 1);
- AstNode nameNode = (AstNode) idNode.getChild(0);
- assert (nameNode.getType() == DrqlAntlrParser.N_NAME);
- assert (nameNode.getChildCount() == 1);
- ret.append(nameNode.getChild(0).toString());
-
- for (int i = 1; i < idNode.getChildCount(); i++) {
- nameNode = (AstNode) idNode.getChild(i);
- assert (nameNode.getType() == DrqlAntlrParser.N_NAME);
- assert (nameNode.getChildCount() == 1);
- ret.append(".");
- ret.append(nameNode.getChild(0).toString());
- }
- return ret.toString();
- }
- static String idNode2String(AstNode idNode) {
- StringBuilder ret = new StringBuilder();
- assert (idNode.getType() == DrqlAntlrParser.N_ID);
- assert (idNode.getChildCount() >= 1);
- AstNode nameNode = (AstNode) idNode.getChild(0);
- assert (nameNode.getType() == DrqlAntlrParser.N_NAME);
- assert (nameNode.getChildCount() == 1);
- ret.append(nameNode.getChild(0).toString());
-
- for (int i = 1; i < idNode.getChildCount(); i++) {
- nameNode = (AstNode) idNode.getChild(i);
- assert (nameNode.getType() == DrqlAntlrParser.N_NAME);
- assert (nameNode.getChildCount() == 1);
- ret.append(".");
- ret.append(nameNode.getChild(0).toString());
- }
- return ret.toString();
- }
- static void parseSelectClauseColumn(AstNode node, SemanticModel query) {
- SemanticModel.ResultColumn column = new SemanticModel.ResultColumn();
- column.scope = DrqlParser.SemanticModelReader.ResultColumn.Scope.FULL;
- assert (node.getType() == DrqlAntlrParser.N_COLUMN);
- assert (node.getChild(0).getType() == DrqlAntlrParser.N_EXPRESSION);
- int count = node.getChildCount();
- assert ((count >= 1) && (count <= 3));
- if (count == 3) {
- parseColumnAlias((AstNode) node.getChild(1), column);
- if (node.getChild(2).getType() == DrqlAntlrParser.N_WITHIN)
- parseWithinClause((AstNode) node.getChild(2), column);
- else if (node.getChild(2).getType() == DrqlAntlrParser.N_WITHIN_RECORD)
- parseWithinRecordClause((AstNode) node.getChild(2), column);
- } else if (count == 2) {
- if (node.getChild(1).getType() == DrqlAntlrParser.N_ALIAS) {
- parseColumnAlias((AstNode) node.getChild(1), column);
- } else if (node.getChild(1).getType() == DrqlAntlrParser.N_WITHIN)
- parseWithinClause((AstNode) node.getChild(1), column);
- else if (node.getChild(1).getType() == DrqlAntlrParser.N_WITHIN_RECORD)
- parseWithinRecordClause(
- (AstNode) node.getChild(1), column);
- else {
- assert (false);
- }
- }
-
- DrqlParser.SemanticModelReader.Expression expression =
- createExpression((AstNode) node.getChild(0));
- column.expression = expression;
- query.resultColumnList.add(column);
- };
- private static void parseSelectClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_SELECT);
- int columnCount = node.getChildCount();
- assert (columnCount > 0);
- for (int i = 0; i < columnCount; i++) {
- parseSelectClauseColumn((AstNode) node.getChild(i), query);
- }
- }
- /*
- AstNode culmnNode = (AstNode) ;
- assert (culmnNode.getType() == DrqlAntlrParser.N_COLUMN);
- AstNode expressionNode = (AstNode) node.getChild(0);
- assert (expressionNode.getType() == DrqlAntlrParser.N_EXPRESSION);
- AstNode idNode = (AstNode) node.getChild(0);
- assert (idNode.getType() == DrqlAntlrParser.N_ID);
- int namesCount = idNode.getChildCount();
- assert (namesCount >= 1);
- for (int j = 0; j < namesCount; j++) {
- AstNode nameNode = (AstNode) node.getChild(j);
- assert (nameNode.getType() == DrqlAntlrParser.N_NAME);
- SemanticModel.Symbol column = new SemanticModel.Symbol();
- column.name = curNode.getText();
- column.type = DrqlParser.SemanticModelReader.Symbol.Type.COLUMN;
- }
- query.resultColumnList.add(expression);
- AstNode node3 = (AstNode) node2.getChild(j);
- if (node3.getType() == DrqlAntlrParser.N_COLUMN) {
- parseWithinClause(node3, query);
- }
- }
- }
- }*/
-
-
- private static void parseFromClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_FROM);
- int count = node.getChildCount();
- assert (count > 0);
- for (int i = 0; i < count; i++) {
- AstNode node2 = (AstNode) node.getChild(i);
- if (node2.getType() == DrqlAntlrParser.N_TABLE_NAME) {
- assert (node2.getChildCount() == 1);
- SemanticModel subQuery = new SemanticModel();
- SemanticModel.Symbol table = new SemanticModel.Symbol();
- table.name = node2.getChild(0).getText();
- table.type = DrqlParser.SemanticModelReader.Symbol.Type.TABLE;
- subQuery.justATable = table;
- query.fromClause.add(subQuery);
- } else if (node2.getType() == DrqlAntlrParser.N_SELECT_STATEMENT) {
- assert (node2.getChildCount() == 1);
- SemanticModel subQuery = new SemanticModel();
- parseSelectStatement(node2, subQuery);
- query.fromClause.add(subQuery);
- } else
- assert (false);
- }
- }
- private static void parseGroupByClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_GROUPBY);
- int count = node.getChildCount();
- assert (count > 0);
- for (int i = 0; i < count; i++) {
- AstNode node2 = (AstNode) node.getChild(i);
- assert (node2.getChildCount() == 1);
- SemanticModel.Symbol column = new SemanticModel.Symbol();
- column.name = node2.getChild(0).getText();
- column.type = DrqlParser.SemanticModelReader.Symbol.Type.COLUMN;
- query.groupByClause.add(column);
- }
- }
-
- private static void parseWhereClause(AstNode node, SemanticModel query) {
- if (node == null) {
- return;
- }
- assert (node.getType() == DrqlAntlrParser.N_WHERE);
- int count = node.getChildCount();
- assert (count == 1);
- AstNode node2 = (AstNode) node.getChild(0);
- assert (node2.getType() == DrqlAntlrParser.N_EXPRESSION);
- Tree node3 = node2.getChild(0);
- query.whereClause = createExpression(node3);
- }
-
- static Expression.Function parseFunction(AstNode node) {
- SemanticModel.Expression.Function func = new SemanticModel.Expression.Function();
- func.function = new SemanticModel.Symbol();
-
- String funcName = null;
- List<Expression> args = new ArrayList<Expression>();
- AstNode n2, n3;
-
- for (int i = 0; i < node.getChildCount(); i++) {
- n2 = (AstNode) node.getChild(i);
- if (n2.getType() == DrqlAntlrParser.N_EXPRESSION) {
- n3 = (AstNode) n2.getChild(0);
- assert(n3.getType() == DrqlAntlrParser.N_ID);
- args.add(createExpression(n3));
- } else {
- assert(n2.getType() == DrqlAntlrParser.N_ID);
- n3 = (AstNode) n2.getChild(0);
- assert(n3.getType() == DrqlAntlrParser.N_NAME);
- funcName = n3.getChild(0).getText();
- }
- }
- func.function.type = Type.FUNCTION;
- func.function.name = funcName;
- func.args = args;
- return func;
- }
- static Expression.Function parseFunction(Tree node) {
- SemanticModel.Expression.Function func = new SemanticModel.Expression.Function();
- func.function = new SemanticModel.Symbol();
-
- String funcName = null;
- List<Expression> args = new ArrayList<Expression>();
- AstNode n2, n3;
-
- for (int i = 0; i < node.getChildCount(); i++) {
- n2 = (AstNode) node.getChild(i);
- if (n2.getType() == DrqlAntlrParser.N_EXPRESSION) {
- n3 = (AstNode) n2.getChild(0);
- assert(n3.getType() == DrqlAntlrParser.N_ID);
- args.add(createExpression(n3));
- } else {
- assert(n2.getType() == DrqlAntlrParser.N_ID);
- n3 = (AstNode) n2.getChild(0);
- assert(n3.getType() == DrqlAntlrParser.N_NAME);
- funcName = n3.getChild(0).getText();
- }
- }
- func.function.type = Type.FUNCTION;
- func.function.name = funcName;
- func.args = args;
- return func;
- }
-
- static SemanticModelReader.Expression createExpression(Tree node) {
- SemanticModelReader.Expression result = null;
- SemanticModel.Expression.BinaryOp binaryOp;
- AstNode n2, n3;
- SemanticModel.Expression.Column column;
- SemanticModel.Expression.Constant constant;
-
- switch (node.getType()) {
-
- case DrqlAntlrParser.N_LOGICAL_AND:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.AND;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_LOGICAL_OR:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.OR;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_CONTAINS:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.CONTAINS;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_GREATER_THAN:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.GREATER_THAN;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_GREATER_THAN_OR_EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.GREATER_THAN_OR_EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.LESS_THAN:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.LESS_THAN;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.LESS_THAN_OR_EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.LESS_THAN_OR_EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_SUBSTRUCT:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.SUBTRACT;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_ADD:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.ADD;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_MULTIPLY:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.MULTIPLY;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_DIVIDE:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.DIVIDE;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_EXPRESSION:
- assert(node.getChildCount() == 1);
- n2 = (AstNode) node.getChild(0);
- if (n2.getType() == DrqlAntlrParser.N_CALL_PARAMS) {
- result = parseFunction(n2);
- } else if (n2.getType() == DrqlAntlrParser.N_ID) {
- SemanticModel.Expression.Column colExpr = new SemanticModel.Expression.Column();
- colExpr.column = new SemanticModel.Symbol();
- colExpr.column.name = idNode2String(n2);
- result = colExpr;
- } else {
- result = createExpression(n2);
- }
- break;
-
- case DrqlAntlrParser.N_ID:
- n2 = (AstNode) node.getChild(0);
- assert (n2.getType() == DrqlAntlrParser.N_NAME);
- n3 = (AstNode) n2.getChild(0);
- assert (n3.getType() == DrqlAntlrParser.ID);
- column = new SemanticModel.Expression.Column();
- Symbol colSymbol = new Symbol();
- colSymbol.name = n3.getText();
- colSymbol.type = Type.COLUMN;
- column.column = colSymbol;
- result = column;
- break;
-
- case DrqlAntlrParser.N_INT:
- n2 = (AstNode) node.getChild(0);
- assert (n2.getType() == DrqlAntlrParser.INT);
- Integer integer = (Integer) Integer.parseInt(n2.getText());
- constant = new SemanticModel.Expression.Constant();
- constant.value = integer;
- result = constant;
- break;
- }
-
- return result;
- }
- static SemanticModelReader.Expression createExpression(AstNode node) {
- SemanticModelReader.Expression result = null;
- SemanticModel.Expression.BinaryOp binaryOp;
- AstNode n2, n3;
- SemanticModel.Expression.Column column;
- SemanticModel.Expression.Constant constant;
-
- switch (node.getType()) {
-
- case DrqlAntlrParser.N_LOGICAL_AND:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.AND;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_LOGICAL_OR:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.OR;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_CONTAINS:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.CONTAINS;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_GREATER_THAN:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.GREATER_THAN;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_GREATER_THAN_OR_EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.GREATER_THAN_OR_EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.LESS_THAN:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.LESS_THAN;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.LESS_THAN_OR_EQUAL:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.LESS_THAN_OR_EQUAL;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_SUBSTRUCT:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.SUBTRACT;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_ADD:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.ADD;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_MULTIPLY:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.MULTIPLY;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_DIVIDE:
- assert (node.getChildCount() == 2);
- binaryOp = new SemanticModel.Expression.BinaryOp();
- binaryOp.left = createExpression((AstNode) node.getChild(0));
- binaryOp.right = createExpression((AstNode) node.getChild(1));
- binaryOp.operator = Operators.DIVIDE;
- result = binaryOp;
- break;
-
- case DrqlAntlrParser.N_EXPRESSION:
- assert(node.getChildCount() == 1);
- Tree n2a = node.getChild(0);
- if (n2a.getType() == DrqlAntlrParser.N_CALL_PARAMS) {
- result = parseFunction(n2a);
- } else if (n2a.getType() == DrqlAntlrParser.N_ID) {
- SemanticModel.Expression.Column colExpr = new SemanticModel.Expression.Column();
- colExpr.column = new SemanticModel.Symbol();
- colExpr.column.name = idNode2String(n2a);
- result = colExpr;
- } else {
- result = createExpression(n2a);
- }
- break;
-
- case DrqlAntlrParser.N_ID:
- n2 = (AstNode) node.getChild(0);
- assert (n2.getType() == DrqlAntlrParser.N_NAME);
- n3 = (AstNode) n2.getChild(0);
- assert (n3.getType() == DrqlAntlrParser.ID);
- column = new SemanticModel.Expression.Column();
- Symbol colSymbol = new Symbol();
- colSymbol.name = n3.getText();
- colSymbol.type = Type.COLUMN;
- column.column = colSymbol;
- result = column;
- break;
-
- case DrqlAntlrParser.N_INT:
- n2 = (AstNode) node.getChild(0);
- assert (n2.getType() == DrqlAntlrParser.INT);
- Integer integer = (Integer) Integer.parseInt(n2.getText());
- constant = new SemanticModel.Expression.Constant();
- constant.value = integer;
- result = constant;
- break;
- }
-
- return result;
- }
- private static void parseLimitClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_LIMIT);
- int count = node.getChildCount();
- assert (count == 1);
- AstNode node2 = (AstNode) node.getChild(0);
- query.limitClause = Integer.parseInt(node2.getText());
- }
- private static void parseOrderByClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_ORDERBY);
- int count = node.getChildCount();
- for (int i = 0; i < count; i ++) {
- AstNode node2 = (AstNode) node.getChild(i);
- assert (node2.getType() == DrqlAntlrParser.N_ASC ||
- node2.getType() == DrqlAntlrParser.N_DESC);
- AstNode node3 = (AstNode) node2.getChild(0);
- assert (node3.getType() == DrqlAntlrParser.N_NAME);
- AstNode node4 = (AstNode) node3.getChild(0);
- String columnName = node4.getText();
- SemanticModel.Symbol column = new SemanticModel.Symbol();
- column.name = columnName;
- column.type = DrqlParser.SemanticModelReader.Symbol.Type.COLUMN;
- query.orderByClause.add(column);
- }
- }
- private static void parseHavingClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_HAVING);
- int count = node.getChildCount();
- assert (count == 1);
- AstNode node2 = (AstNode) node.getChild(0);
- assert (node2.getType() == DrqlAntlrParser.N_EXPRESSION);
- AstNode node3 = (AstNode) node2.getChild(0);
- query.havingClause = createExpression(node3);
- }
- private static void parseJoinClause(AstNode node, SemanticModel query) {
- assert (node.getType() == DrqlAntlrParser.N_JOIN);
- int count = node.getChildCount();
- assert (count == 3);
-
- SemanticModel.Symbol table = new SemanticModel.Symbol();
-
- Tree joinFrom = node.getChild(1);
- if(joinFrom.getType() == DrqlAntlrParser.N_TABLE) {
- table.name = joinFrom.getChild(0).getChild(0).getChild(0).getText();
- table.type = DrqlParser.SemanticModelReader.Symbol.Type.TABLE;
- }
-
-
- Tree joinOnList = node.getChild(2);
- ArrayList<SemanticModelReader.JoinOnClause.JoinCondition> joinConditions = new ArrayList<SemanticModelReader.JoinOnClause.JoinCondition>(joinOnList.getChildCount());
-
- if(joinOnList.getType() == DrqlAntlrParser.N_JOIN_ON_LIST) {
- for(int i=0; i<joinOnList.getChildCount(); i++) {
-
- SemanticModel.JoinOnClause.JoinCondition joinCondition = new SemanticModel.JoinOnClause.JoinCondition();
- assert(joinOnList.getChild(i).getChildCount() == 2);
- Tree leftNode = joinOnList.getChild(i).getChild(0);
- Tree rightNode = joinOnList.getChild(i).getChild(1);
- SemanticModel.Symbol leftSymbol = new SemanticModel.Symbol();
- leftSymbol.name = idNode2String((AstNode) leftNode);
- leftSymbol.type = Type.COLUMN;
- SemanticModel.Symbol rightSymbol = new Symbol();
- rightSymbol.name = idNode2String((AstNode) rightNode);
- rightSymbol.type = Type.COLUMN;
-
- joinCondition.leftSymbol = leftSymbol;
- joinCondition.rightSymbol = rightSymbol;
-
- joinConditions.add(joinCondition);
- }
- }
-
- SemanticModel.JoinOnClause joinOnClause = new SemanticModel.JoinOnClause();
- joinOnClause.table = table;
- joinOnClause.conditions = joinConditions;
-
- query.joinOnClause = joinOnClause;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AstNode.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AstNode.java b/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AstNode.java
deleted file mode 100644
index 59134ea..0000000
--- a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/AstNode.java
+++ /dev/null
@@ -1,52 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.parsers.impl.drqlantlr;
-
-/**
-*
-* This is parser-related class.
-* This class represent a node in abstract syntax tree in dremel project
-*
-* See ANTLR reference/books for more information.
-*
-* @author camuelg
-*/
-
-import org.antlr.runtime.Token;
-import org.antlr.runtime.tree.CommonTree;
-
-/**
- *
- * AstNode class, it is so compact that can be keep here instead of interface to reduce clutter.
- * <P>
- * AstNode is a node in abstract syntax tree. Each node has a type and a single string value and
- * children nodes.
- * <P>
- * @see Antrl manual
- *
- *
- * @author camuelg
- */
-public final class AstNode extends CommonTree {
- public AstNode(Token payload) {
- super(payload);
- }
-
- @Override
- public String toString() {
- return super.toString();
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/SemanticModel.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/SemanticModel.java b/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/SemanticModel.java
deleted file mode 100644
index 98aaf02..0000000
--- a/sandbox/query-parser/src/main/java/org/apache/drill/parsers/impl/drqlantlr/SemanticModel.java
+++ /dev/null
@@ -1,250 +0,0 @@
-package org.apache.drill.parsers.impl.drqlantlr;
-
-import java.util.Collections;
-import java.util.LinkedList;
-import java.util.List;
-
-import org.apache.drill.parsers.DrqlParser;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader;
-
-public class SemanticModel implements SemanticModelReader {
- static class Symbol implements SemanticModelReader.Symbol {
- Type type;
- String name;
- List<String> components;
- Symbol aliasSymbol;
- Symbol aliasedSymbol;
-
- @Override
- public Type getType() {
- return type;
- }
-
- @Override
- public String getName() {
- return name;
- }
-
- @Override
- public List<String> getNameComponents() {
- return Collections.unmodifiableList(components);
- }
-
- @Override
- public boolean isAlias() {
- return aliasSymbol == null;
- }
-
- @Override
- public SemanticModelReader.Symbol getAlisasedSymbol() {
- return aliasedSymbol;
- }
-
- @Override
- public SemanticModelReader.Symbol getAliasSymbol() {
- return aliasSymbol;
- }
- }
- static class ResultColumn
- implements SemanticModelReader.ResultColumn {
- SemanticModelReader.ResultColumn.Scope scope;
- Symbol columnScope;
- Symbol alias;
- SemanticModelReader.Expression expression;
-
- @Override
- public SemanticModelReader.Symbol getAlias() {
- return alias;
- }
-
- @Override
- public SemanticModelReader.Expression getExpression() {
- return expression;
- }
-
- @Override
- public Scope getScope() {
- return scope;
- }
-
- @Override
- public SemanticModelReader.Symbol getColumnScope() {
- return columnScope;
- }
-
- }
- static class Expression implements SemanticModelReader.Expression{
- static class BinaryOp
- implements SemanticModelReader.Expression.BinaryOp {
-
- SemanticModelReader.Expression left;
- SemanticModelReader.Expression right;
- Operators operator;
-
- @Override
- public SemanticModelReader.Expression getLeftExpression() {
- return left;
- }
-
- @Override
- public SemanticModelReader.Expression getRightExpression() {
- return right;
- }
-
- @Override
- public Operators getOperator() {
- return operator;
- }
-
- }
- static class UnaryOp
- implements SemanticModelReader.Expression.UnaryOp {
-
- SemanticModelReader.Expression expression;
- String operator;
- @Override
- public SemanticModelReader.Expression getExpression() {
- return expression;
- }
-
- @Override
- public String getOperator() {
- return operator;
- }
-
- }
- static class Constant
- implements SemanticModelReader.Expression.Constant {
- Object value;
-
- @Override
- public Object getValue() {
- return value;
- }
- }
-
- static class Column
- implements SemanticModelReader.Expression.Column {
- Symbol column;
-
- @Override
- public SemanticModelReader.Symbol getSymbol() {
- return column;
- }
-
- }
- static class Function
- implements SemanticModelReader.Expression.Function {
- Symbol function;
- List<SemanticModelReader.Expression> args;
-
- Function() {
- args = new LinkedList<SemanticModelReader.Expression>();
- }
-
- @Override
- public SemanticModelReader.Symbol getSymbol() {
- return function;
- }
- @Override
- public List<SemanticModelReader.Expression> getArgs() {
- return args;
- }
-
- }
- }
- public static class JoinOnClause implements SemanticModelReader.JoinOnClause {
-
- public static class JoinCondition implements SemanticModelReader.JoinOnClause.JoinCondition {
- SemanticModelReader.Symbol leftSymbol, rightSymbol;
-
- public SemanticModelReader.Symbol getLeftSymbol() {
- return leftSymbol;
- }
-
- public SemanticModelReader.Symbol getRightSymbol() {
- return rightSymbol;
- }
- }
-
- SemanticModelReader.Symbol table;
- List<SemanticModelReader.JoinOnClause.JoinCondition> conditions;
-
- JoinOnClause() {
- conditions = new LinkedList<SemanticModelReader.JoinOnClause.JoinCondition>();
- }
-
- @Override
- public SemanticModelReader.Symbol getTable() {
- return table;
- }
-
- @Override
- public List<SemanticModelReader.JoinOnClause.JoinCondition> getJoinConditionClause() {
- return Collections.unmodifiableList(conditions);
- }
-
- }
-
- List<SemanticModelReader.Symbol> orderByClause;
- List<SemanticModelReader> fromClause;
- List<SemanticModelReader.ResultColumn> resultColumnList;
- List<SemanticModelReader.Symbol> groupByClause;
- SemanticModelReader.JoinOnClause joinOnClause;
- SemanticModelReader.Expression whereClause;
- SemanticModelReader.Expression havingClause;
- Integer limitClause;
- SemanticModelReader.Symbol justATable;
-
- public SemanticModel() {
- orderByClause = new LinkedList<SemanticModelReader.Symbol>();
- fromClause = new LinkedList<SemanticModelReader>();
- resultColumnList = new LinkedList<SemanticModelReader.ResultColumn>();
- groupByClause = new LinkedList<SemanticModelReader.Symbol>();
- }
-
- @Override
- public List<SemanticModelReader> getFromClause() {
- return Collections.unmodifiableList(fromClause);
- }
-
- @Override
- public List<SemanticModelReader.ResultColumn> getResultColumnList() {
- return Collections.unmodifiableList(resultColumnList);
- }
-
- @Override
- public List<SemanticModelReader.Symbol> getGroupByClause() {
- return Collections.unmodifiableList(groupByClause);
- }
-
- @Override
- public List<SemanticModelReader.Symbol> getOrderByClause() {
- return Collections.unmodifiableList(orderByClause);
- }
-
- @Override
- public SemanticModelReader.JoinOnClause getJoinOnClause() {
- return joinOnClause;
- }
-
- @Override
- public SemanticModelReader.Expression getWhereClause() {
- return whereClause;
- }
-
- @Override
- public Integer getLimitClause() {
- return limitClause;
- }
-
- @Override
- public boolean isJustATable() {
- return justATable != null;
- }
-
- @Override
- public SemanticModelReader.Symbol getjustATable() {
- return justATable;
- }
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserAstTest.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserAstTest.java b/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserAstTest.java
deleted file mode 100644
index cbb7a1a..0000000
--- a/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserAstTest.java
+++ /dev/null
@@ -1,88 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.parsers;
-
-import static org.junit.Assert.*;
-
-import java.io.*;
-import java.util.Formatter;
-
-import com.google.common.base.Charsets;
-import com.google.common.base.Joiner;
-import com.google.common.io.Files;
-import com.google.common.io.Resources;
-import org.antlr.runtime.tree.Tree;
-import org.apache.commons.io.FileUtils;
-import org.apache.drill.parsers.impl.drqlantlr.AntlrParser;
-import org.apache.drill.parsers.impl.drqlantlr.AstNode;
-import org.junit.Test;
-
-
-public class DrqlParserAstTest {
-
- File getFile(String filename) {
- return new File("testdata" + File.separatorChar + filename);
- }
- @Test
- public void testQueryList() throws IOException {
- Joiner withNewline = Joiner.on("\n");
- //tests parsing all SQL that are encountered in the documentation
- for(int i = 1; i <= 15; i++) {
-
- File tempFile = getFile("q" + i + "_temp.drql.sm");
- File expectedFile = getFile("q" + i + ".drql.ast");
- File queryFile = getFile("q" + i + ".drql");
-
- String query = FileUtils.readFileToString(queryFile);
- String ast = AntlrParser.parseToAst(query).toStringTree();
- Formatter f = new Formatter();
- formatAst(AntlrParser.parseToAst(query), f, 0);
-
- query = withNewline.join(Resources.readLines(Resources.getResource("q" + i + ".drql"), Charsets.UTF_8));
- assertEquals(query, f.toString());
-
- FileUtils.writeStringToFile(tempFile, ast);
-
- assertEquals(withNewline.join(Files.readLines(expectedFile, Charsets.UTF_8)), withNewline.join(Files.readLines(expectedFile, Charsets.UTF_8)));
- assertEquals(String.format("sm files differs %s versus %s",expectedFile, tempFile),
- withNewline.join(Files.readLines(expectedFile, Charsets.UTF_8)),
- withNewline.join(Files.readLines(tempFile, Charsets.UTF_8)));
- assertTrue(String.format("sm files differs %s versus %s",expectedFile, tempFile),
- FileUtils.contentEquals(expectedFile, tempFile));
-
- FileUtils.forceDelete(tempFile);
- }
- }
-
-
- public void formatAst(AstNode astNode, Formatter formatter, int indent) {
- String spaces = " ";
- formatter.format("%s%s\n", spaces.substring(0, indent), astNode.getText());
- int n = astNode.getChildCount();
- for (int i = 0; i < n; i++) {
- formatAst(astNode.getChild(i), formatter, indent + 2);
- }
- }
-
- public void formatAst(Tree astNode, Formatter formatter, int indent) {
- String spaces = " ";
- formatter.format("%s%s\n", spaces.substring(0, indent), astNode.getText());
- int n = astNode.getChildCount();
- for (int i = 0; i < n; i++) {
- formatAst(astNode.getChild(i), formatter, indent + 2);
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserTest.java
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserTest.java b/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserTest.java
deleted file mode 100644
index 65b0a1f..0000000
--- a/sandbox/query-parser/src/test/java/org/apache/drill/parsers/DrqlParserTest.java
+++ /dev/null
@@ -1,457 +0,0 @@
-/**
- * Copyright 2010, BigDataCraft.com
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.parsers;
-
-import static org.junit.Assert.*;
-
-import java.io.File;
-import java.io.IOException;
-import java.util.List;
-
-import org.apache.drill.parsers.impl.drqlantlr.AntlrParser;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression.BinaryOp;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression.BinaryOp.Operators;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression.Column;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Expression.Function;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.ResultColumn;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.ResultColumn.Scope;
-import org.apache.drill.parsers.DrqlParser.SemanticModelReader.Symbol;
-import org.junit.Test;
-
-public class DrqlParserTest {
-
- File getFile(String filename) {
- return new File("testdata" + File.separatorChar + filename);
- }
- void testBasicSymbol(Symbol sym, String name) {
- assertTrue(sym.getAliasSymbol() == null);
- String name2 = sym.getName();
- assertTrue(name2.equals(name));
- }
- void testBasicResultColumn(ResultColumn col, String name) {
- assertTrue(col.getScope() == Scope.FULL);
- assertTrue(col.getAlias() == null);
- assertTrue(col.getColumnScope() == null);
- Expression expr = col.getExpression();
- assertTrue(expr instanceof Expression.Column);
- Expression.Column colExpr = (Expression.Column) expr;
- Symbol sym = colExpr.getSymbol();
- testBasicSymbol(sym, name);
- }
- void testBasicTable(SemanticModelReader subQuery, String name) {
- assertTrue(subQuery.isJustATable());
- Symbol sym = subQuery.getjustATable();
- testBasicSymbol(sym, name);
- }
-
- @Test
- public void testBasicQuery() throws IOException {
-
- String drqlQueryText = "SELECT column1 FROM table1";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
- ResultColumn col = resColList.get(0);
- testBasicResultColumn(col, "column1");
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(0, query.getOrderByClause().size());
- assertEquals(null, query.getLimitClause());
- }
-
- void testAlias(ResultColumn col, String name) {
- Symbol alias = col.getAlias();
- assertEquals(name, alias.getName());
- assertEquals("COLUMN_ALIAS", alias.getType().name());
- }
-
- @Test
- public void testQuery1() throws IOException {
-
- String drqlQueryText = "SELECT column1 as col1, column2 FROM table1 WHERE col1 > 55 ORDER BY column2 ASC";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(2, resColList.size());
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.FULL, col1.getScope());
- testAlias(col1, "col1");
- assertEquals(null, col1.getColumnScope());
- Expression expr = col1.getExpression();
- assertTrue(expr instanceof Expression.Column);
- ResultColumn col2 = resColList.get(1);
- testBasicResultColumn(col2, "column2");
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //where clause
- Expression whereExpr = query.getWhereClause();
- assertTrue(whereExpr instanceof Expression.BinaryOp);
- Expression.BinaryOp whereExpr2 = (BinaryOp) query.getWhereClause();
- assertEquals(Operators.GREATER_THAN, whereExpr2.getOperator());
-
- //order by clause
- List<Symbol> orderByClause = query.getOrderByClause();
- assertEquals(1, orderByClause.size());
- Symbol orderBy1 = orderByClause.get(0);
- assertEquals("column2", orderBy1.getName());
- assertEquals("COLUMN", orderBy1.getType().name());
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(null, query.getLimitClause());
- }
-
- @Test
- public void testQuery2() throws IOException {
-
- String drqlQueryText =
- "SELECT customersTable.id, customersTable.name, ordersTable.id " +
- "FROM customersTable " +
- "INNER JOIN ordersTable ON customersTable.id = ordersTable.customerId";
-
- DrqlParser parser = new AntlrParser();
- String ast = AntlrParser.parseToAst(drqlQueryText).toStringTree();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- SemanticModelReader.JoinOnClause join = query.getJoinOnClause();
- assertNotNull(join);
- assertEquals("ordersTable", join.getTable().getName());
- assertEquals(1, join.getJoinConditionClause().size());
- assertEquals(Symbol.Type.COLUMN, join.getJoinConditionClause().get(0).getLeftSymbol().getType());
- assertEquals("customersTable.id", join.getJoinConditionClause().get(0).getLeftSymbol().getName());
- assertEquals(Symbol.Type.COLUMN, join.getJoinConditionClause().get(0).getRightSymbol().getType());
- assertEquals("ordersTable.customerId", join.getJoinConditionClause().get(0).getRightSymbol().getName());
- }
-
- @Test
- public void testQuery3() throws IOException {
-
- String drqlQueryText = "SELECT COUNT(f1) FROM table1";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.FULL, col1.getScope());
- assertEquals(null, col1.getAlias());
- Expression expr = col1.getExpression();
- assertTrue(expr instanceof Expression.Function);
- Expression.Function func = (Function) col1.getExpression();
- assertEquals("COUNT", func.getSymbol().getName());
- assertEquals(1, func.getArgs().size());
- Expression arg1 = (Expression) func.getArgs().get(0);
- assertTrue(arg1 instanceof Expression.Column);
- Expression.Column arg1Column = (Column) arg1;
- assertEquals("f1", arg1Column.getSymbol().getName());
- assertEquals(null, col1.getColumnScope());
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(null, query.getLimitClause());
- }
-
- @Test
- public void testQuery4() throws IOException {
- String drqlQueryText = "SELECT COUNT(r1.m2.f3) WITHIN r1.m2 AS cnt FROM [Table1];";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.COLUMN, col1.getScope());
- testAlias(col1, "cnt");
- Expression expr = col1.getExpression();
- assertTrue(expr instanceof Expression.Function);
- Expression.Function func = (Function) col1.getExpression();
- assertEquals("COUNT", func.getSymbol().getName());
- assertEquals(1, func.getArgs().size());
- Expression arg1 = (Expression) func.getArgs().get(0);
- assertTrue(arg1 instanceof Expression.Column);
- Expression.Column arg1Column = (Column) arg1;
- assertEquals("r1", arg1Column.getSymbol().getName());
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "[Table1]");
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(null, query.getLimitClause());
- }
-
- @Test
- public void testQuery5() throws IOException {
-
- String drqlQueryText = "SELECT f1, SUM(f2) FROM [Table1] GROUP BY f1 HAVING SUM(f2) > 1000;";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(2, resColList.size());
-
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.FULL, col1.getScope());
- testBasicResultColumn(col1, "f1");
-
- ResultColumn col2 = resColList.get(1);
- Expression expr = col2.getExpression();
- assertTrue(expr instanceof Expression.Function);
- Expression.Function func = (Function) col2.getExpression();
- assertEquals("SUM", func.getSymbol().getName());
- assertEquals(1, func.getArgs().size());
- Expression arg1 = (Expression) func.getArgs().get(0);
- assertTrue(arg1 instanceof Expression.Column);
- Expression.Column arg1Column = (Column) arg1;
- assertEquals("f2", arg1Column.getSymbol().getName());
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "[Table1]");
-
- //group-by clause
- List<Symbol> groupByList = query.getGroupByClause();
- assertEquals(1, groupByList.size());
- Symbol groupBy1 = groupByList.get(0);
- assertEquals("f1", groupBy1.getName());
- assertEquals("COLUMN", groupBy1.getType().name());
-
- //check the rest of the model
- assertEquals(null, query.getJoinOnClause());
- assertEquals(null, query.getLimitClause());
- }
-
- @Test
- public void testQuery6() throws IOException {
-
- String drqlQueryText = "SELECT COUNT(m1.f2) WITHIN RECORD FROM table1;";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
-
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.RECORD, col1.getScope());
- Expression expr = col1.getExpression();
- assertTrue(expr instanceof Expression.Function);
- Expression.Function func = (Function) col1.getExpression();
- assertEquals("COUNT", func.getSymbol().getName());
- assertEquals(1, func.getArgs().size());
- Expression arg1 = (Expression) func.getArgs().get(0);
- assertTrue(arg1 instanceof Expression.Column);
- Expression.Column arg1Column = (Column) arg1;
- assertEquals("m1", arg1Column.getSymbol().getName());
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(null, query.getLimitClause());
- }
-
- @Test
- public void testQuery7() throws IOException {
-
- String drqlQueryText = "SELECT column1 FROM table1 LIMIT 5;";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
- ResultColumn col = resColList.get(0);
- testBasicResultColumn(col, "column1");
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //limit clause
- int limitClause = query.getLimitClause();
- assertEquals(5, limitClause);
-
- //check the rest of the model
- assertEquals(0, query.getGroupByClause().size());
- assertEquals(null, query.getJoinOnClause());
- assertEquals(0, query.getOrderByClause().size());
- }
-
- void testColumnBinaryOpC1(ResultColumn col, Operators op) {
- assertEquals(Scope.FULL, col.getScope());
- assertNull(col.getAlias());
- assertNull(col.getColumnScope());
- Expression expr = col.getExpression();
- assertTrue(expr instanceof Expression.BinaryOp);
- Expression.BinaryOp colExpr = (Expression.BinaryOp) expr;
- assertEquals(op, colExpr.getOperator());
- Expression left = colExpr.getLeftExpression();
- Expression right = colExpr.getRightExpression();
- assertTrue(left instanceof Expression.Column);
- assertTrue(right instanceof Expression.Constant);
- Expression.Column leftExpr = (Expression.Column) left;
- Expression.Constant rightExpr = (Expression.Constant) right;
- Symbol sym = leftExpr.getSymbol();
- testBasicSymbol(sym, "c");
- assertEquals(Integer.valueOf(1), rightExpr.getValue());
- }
-
- @Test
- public void testQuery8() throws IOException {
-
- String drqlQueryText = "SELECT c - 1, c + 1, c / 1, c * 1 FROM table1;";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertTrue(resColList.size() == 4);
- ResultColumn col1 = resColList.get(0);
- testColumnBinaryOpC1(col1, Operators.SUBTRACT);
- ResultColumn col2 = resColList.get(1);
- testColumnBinaryOpC1(col2, Operators.ADD);
- ResultColumn col3 = resColList.get(2);
- testColumnBinaryOpC1(col3, Operators.DIVIDE);
- ResultColumn col4 = resColList.get(3);
- testColumnBinaryOpC1(col4, Operators.MULTIPLY);
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertTrue(subQueryList.size() == 1);
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //check the rest of the model
- assertNull(query.getLimitClause());
- assertEquals(0, query.getGroupByClause().size());
- assertNull(query.getJoinOnClause());
- assertEquals(0, query.getOrderByClause().size());
- }
-
- @Test
- public void testQuery9() throws IOException {
-
- String drqlQueryText = "SELECT c - 1 + 2 FROM table1;";
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
- //result column list
- List<ResultColumn> resColList = query.getResultColumnList();
- assertEquals(1, resColList.size());
- ResultColumn col1 = resColList.get(0);
- assertEquals(Scope.FULL, col1.getScope());
- assertNull(col1.getAlias());
- assertNull(col1.getColumnScope());
- Expression expr = col1.getExpression();
- assertTrue(expr instanceof Expression.BinaryOp);
- Expression.BinaryOp colExpr = (Expression.BinaryOp) expr;
- assertEquals(Operators.ADD, colExpr.getOperator());
- Expression left1 = colExpr.getLeftExpression();
- Expression right1 = colExpr.getRightExpression();
- assertTrue(left1 instanceof Expression.BinaryOp);
- assertTrue(right1 instanceof Expression.Constant);
- Expression.BinaryOp leftExpr1 = (Expression.BinaryOp) left1;
- Expression.Constant rightExpr1 = (Expression.Constant) right1;
- assertEquals(2, rightExpr1.getValue());
- assertEquals(Operators.SUBTRACT, leftExpr1.getOperator());
- Expression left1_2 = leftExpr1.getLeftExpression();
- Expression right1_2 = leftExpr1.getRightExpression();
- Expression.Column leftExpr1_2 = (Expression.Column) left1_2;
- Expression.Constant rightExpr1_2 = (Expression.Constant) right1_2;
- Symbol sym = leftExpr1_2.getSymbol();
- testBasicSymbol(sym, "c");
- assertEquals(1, rightExpr1_2.getValue());
-
- //from clause
- List<SemanticModelReader> subQueryList = query.getFromClause();
- assertEquals(1, subQueryList.size());
- SemanticModelReader subQuery = subQueryList.get(0);
- testBasicTable(subQuery, "table1");
-
- //check the rest of the model
- assertNull(query.getLimitClause());
- assertEquals(0, query.getGroupByClause().size());
- assertNull(query.getJoinOnClause());
- assertEquals(0, query.getOrderByClause().size());
- }
-
- @Test
- public void testSyntaxErrorQuery1() throws IOException {
-
- String drqlQueryText = "blah blah blah";
-
- // TODO: provide syntax error messages in g file. write this test.
-
- /*
- DrqlParser parser = new AntlrParser();
- SemanticModelReader query = parser.parse(drqlQueryText);
-
-
- //check the rest of the model
- assertTrue(query.getResultColumnList().size() == 0);
- assertTrue(query.getFromClause().size() == 0);
- assertTrue(query.getGroupByClause().size() == 0);
- assertTrue(query.getJoinOnClause() == null);
- assertTrue(query.getLimitClause() == null);
- assertTrue(query.getOrderByClause().size() == 0);
- */
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q1.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q1.drql b/sandbox/query-parser/testdata/q1.drql
deleted file mode 100644
index 69b1f83..0000000
--- a/sandbox/query-parser/testdata/q1.drql
+++ /dev/null
@@ -1,3 +0,0 @@
-SELECT word AS w, LENGTH(word), 3*2-1
- FROM [bigquery/samples/shakespeare]
- WHERE word CONTAINS 'th';
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q1.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q1.drql.ast b/sandbox/query-parser/testdata/q1.drql.ast
deleted file mode 100644
index 511747b..0000000
--- a/sandbox/query-parser/testdata/q1.drql.ast
+++ /dev/null
@@ -1,6 +0,0 @@
-(N_SELECT_STATEMENT
-(N_FROM (N_TABLE_NAME [bigquery/samples/shakespeare]))
-(N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME word))) (N_ALIAS w))
- (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME word))) (N_ID (N_NAME LENGTH)))))
- (N_COLUMN (N_EXPRESSION (N_SUBSTRUCT (N_MULTIPLY (N_INT 3) (N_INT 2)) (N_INT 1)))))
-(N_WHERE (N_EXPRESSION (N_CONTAINS (N_ID (N_NAME word)) (N_STRING 'th')))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q10.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q10.drql b/sandbox/query-parser/testdata/q10.drql
deleted file mode 100644
index 6db67cc..0000000
--- a/sandbox/query-parser/testdata/q10.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT f1, COUNT(f2), f3 FROM [Table] GROUP BY f1;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q10.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q10.drql.ast b/sandbox/query-parser/testdata/q10.drql.ast
deleted file mode 100644
index 7049777..0000000
--- a/sandbox/query-parser/testdata/q10.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f2))) (N_ID (N_NAME COUNT))))) (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f3))))) (N_GROUPBY (N_NAME f1)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q11.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q11.drql b/sandbox/query-parser/testdata/q11.drql
deleted file mode 100644
index 028c02b..0000000
--- a/sandbox/query-parser/testdata/q11.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT COUNT(*), word FROM [Table] WHERE word CONTAINS 'th' GROUP BY word LIMIT 5;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q11.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q11.drql.ast b/sandbox/query-parser/testdata/q11.drql.ast
deleted file mode 100644
index 98db6ae..0000000
--- a/sandbox/query-parser/testdata/q11.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME *))) (N_ID (N_NAME COUNT))))) (N_COLUMN (N_EXPRESSION (N_ID (N_NAME word))))) (N_WHERE (N_EXPRESSION (N_CONTAINS (N_ID (N_NAME word)) (N_STRING 'th')))) (N_GROUPBY (N_NAME word)) (N_LIMIT 5))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q12.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q12.drql b/sandbox/query-parser/testdata/q12.drql
deleted file mode 100644
index 858c85c..0000000
--- a/sandbox/query-parser/testdata/q12.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT COUNT(f1) FROM Table;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q12.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q12.drql.ast b/sandbox/query-parser/testdata/q12.drql.ast
deleted file mode 100644
index a2a5f47..0000000
--- a/sandbox/query-parser/testdata/q12.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME Table)) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f1))) (N_ID (N_NAME COUNT)))))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q13.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q13.drql b/sandbox/query-parser/testdata/q13.drql
deleted file mode 100644
index 0d6c21a..0000000
--- a/sandbox/query-parser/testdata/q13.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT COUNT(f1) FROM Table GROUP BY b1;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q13.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q13.drql.ast b/sandbox/query-parser/testdata/q13.drql.ast
deleted file mode 100644
index 60d3008..0000000
--- a/sandbox/query-parser/testdata/q13.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME Table)) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f1))) (N_ID (N_NAME COUNT)))))) (N_GROUPBY (N_NAME b1)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q14.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q14.drql b/sandbox/query-parser/testdata/q14.drql
deleted file mode 100644
index 5abd083..0000000
--- a/sandbox/query-parser/testdata/q14.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT COUNT(m1.f2) WITHIN RECORD FROM Table;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q14.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q14.drql.ast b/sandbox/query-parser/testdata/q14.drql.ast
deleted file mode 100644
index fcc194e..0000000
--- a/sandbox/query-parser/testdata/q14.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME Table)) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME m1) (N_NAME f2))) (N_ID (N_NAME COUNT)))) N_WITHIN_RECORD)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q15.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q15.drql b/sandbox/query-parser/testdata/q15.drql
deleted file mode 100644
index b2eab2d..0000000
--- a/sandbox/query-parser/testdata/q15.drql
+++ /dev/null
@@ -1,8 +0,0 @@
-SELECT
- DocId AS Id,
- COUNT(Name.Language.Code) WITHIN Name AS Cnt,
- Name.Url + ',' + Name.Language.Code AS Str
-FROM
- t , (select a,b from c)
-WHERE
- REGEXP(Name.Url, '^http') AND DocId < 20
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q15.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q15.drql.ast b/sandbox/query-parser/testdata/q15.drql.ast
deleted file mode 100644
index a3edb3b..0000000
--- a/sandbox/query-parser/testdata/q15.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME t) (N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME c)) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME a)))) (N_COLUMN (N_EXPRESSION (N_ID (N_NAME b))))))) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME DocId))) (N_ALIAS Id)) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME Name) (N_NAME Language) (N_NAME Code))) (N_ID (N_NAME COUNT)))) (N_ALIAS Cnt) (N_WITHIN (N_ID (N_NAME Name)))) (N_COLUMN (N_EXPRESSION (N_ADD (N_ADD (N_ID (N_NAME Name) (N_NAME Url)) (N_STRING ',')) (N_ID (N_NAME Name) (N_NAME Language) (N_NAME Code)))) (N_ALIAS Str))) (N_WHERE (N_EXPRESSION (N_LOGICAL_AND (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME Name) (N_NAME Url))) (N_EXPRESSION (N_STRING '^http')) (N_ID (N_NAME REGEXP))) (N_LESS_THAN (N_ID (N_NAME cId)) (N_INT 20))))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q16.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q16.drql b/sandbox/query-parser/testdata/q16.drql
deleted file mode 100644
index e7e83c1..0000000
--- a/sandbox/query-parser/testdata/q16.drql
+++ /dev/null
@@ -1 +0,0 @@
-select Links.Backward, Links.Forward, Name.Url from table
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q17.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q17.drql b/sandbox/query-parser/testdata/q17.drql
deleted file mode 100644
index f3a06b1..0000000
--- a/sandbox/query-parser/testdata/q17.drql
+++ /dev/null
@@ -1 +0,0 @@
-select Name.Url from table
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q18.bql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q18.bql b/sandbox/query-parser/testdata/q18.bql
deleted file mode 100644
index d5bbd72..0000000
--- a/sandbox/query-parser/testdata/q18.bql
+++ /dev/null
@@ -1,3 +0,0 @@
-SELECT x, y, z
- FROM [bigquery/samples/shakespeare]
- ORDER BY x, y desc;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q1_temp.drql.sm
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q1_temp.drql.sm b/sandbox/query-parser/testdata/q1_temp.drql.sm
deleted file mode 100644
index 623e953..0000000
--- a/sandbox/query-parser/testdata/q1_temp.drql.sm
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [bigquery/samples/shakespeare])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME word))) (N_ALIAS w)) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_ID (N_NAME LENGTH))))) (N_COLUMN (N_EXPRESSION (N_SUBSTRUCT (N_MULTIPLY (N_INT 3) (N_INT 2)) (N_INT 1))))) (N_WHERE (N_EXPRESSION (N_CONTAINS (N_ID (N_NAME word)) (N_STRING 'th')))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q2.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q2.drql b/sandbox/query-parser/testdata/q2.drql
deleted file mode 100644
index 50444b8..0000000
--- a/sandbox/query-parser/testdata/q2.drql
+++ /dev/null
@@ -1,3 +0,0 @@
-SELECT COUNT(*)
- FROM [bigquery/samples/shakespeare]
- WHERE word CONTAINS 'th';
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q2.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q2.drql.ast b/sandbox/query-parser/testdata/q2.drql.ast
deleted file mode 100644
index 1215bba..0000000
--- a/sandbox/query-parser/testdata/q2.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [bigquery/samples/shakespeare])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME *))) (N_ID (N_NAME COUNT)))))) (N_WHERE (N_EXPRESSION (N_CONTAINS (N_ID (N_NAME word)) (N_STRING 'th')))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q3.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q3.drql b/sandbox/query-parser/testdata/q3.drql
deleted file mode 100644
index 0eb146c..0000000
--- a/sandbox/query-parser/testdata/q3.drql
+++ /dev/null
@@ -1,4 +0,0 @@
-SELECT f1, SUM(f2)
- FROM [Table]
- GROUP BY f1
- HAVING SUM(f2) > 1000;
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q3.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q3.drql.ast b/sandbox/query-parser/testdata/q3.drql.ast
deleted file mode 100644
index b053242..0000000
--- a/sandbox/query-parser/testdata/q3.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f2))) (N_ID (N_NAME SUM)))))) (N_GROUPBY (N_NAME f1)))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q4.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q4.drql b/sandbox/query-parser/testdata/q4.drql
deleted file mode 100644
index 9e6f420..0000000
--- a/sandbox/query-parser/testdata/q4.drql
+++ /dev/null
@@ -1,3 +0,0 @@
-SELECT f1, total
- FROM (SELECT f1, SUM(f2) AS total from [Table] GROUP BY f1)
- WHERE total > 1000;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q4.drql.ast
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q4.drql.ast b/sandbox/query-parser/testdata/q4.drql.ast
deleted file mode 100644
index b525ebd..0000000
--- a/sandbox/query-parser/testdata/q4.drql.ast
+++ /dev/null
@@ -1 +0,0 @@
-(N_SELECT_STATEMENT (N_FROM (N_SELECT_STATEMENT (N_FROM (N_TABLE_NAME [Table])) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_CALL_PARAMS (N_EXPRESSION (N_ID (N_NAME f2))) (N_ID (N_NAME SUM)))) (N_ALIAS total))) (N_GROUPBY (N_NAME f1)))) (N_SELECT (N_COLUMN (N_EXPRESSION (N_ID (N_NAME f1)))) (N_COLUMN (N_EXPRESSION (N_ID (N_NAME total))))) (N_WHERE (N_EXPRESSION (N_GREATER_THAN (N_ID (N_NAME total)) (N_INT 1000)))))
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/testdata/q5.drql
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/testdata/q5.drql b/sandbox/query-parser/testdata/q5.drql
deleted file mode 100644
index 2bbaf0c..0000000
--- a/sandbox/query-parser/testdata/q5.drql
+++ /dev/null
@@ -1 +0,0 @@
-SELECT f1, COUNT(m1.f2) WITHIN RECORD AS cnt FROM [Table];
\ No newline at end of file
[09/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializedField.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializedField.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializedField.java
index 6a65ce8..56e48a8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializedField.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializedField.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/NullExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/NullExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/NullExpression.java
index 821a4b4..1543550 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/NullExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/NullExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java
index 217d34d..7497475 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatchProvider.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatchProvider.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatchProvider.java
index 08b0e11..3390af9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatchProvider.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RawFragmentBatchProvider.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import org.apache.drill.exec.ops.FragmentContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatch.java
index f747968..8b6d51c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import org.apache.drill.common.expression.SchemaPath;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchLoader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchLoader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchLoader.java
index c7400ad..c6d73ea 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchLoader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/RecordBatchLoader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/SchemaBuilder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/SchemaBuilder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/SchemaBuilder.java
index 34e4043..556e68b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/SchemaBuilder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/SchemaBuilder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/SimpleVectorWrapper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/SimpleVectorWrapper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/SimpleVectorWrapper.java
index 7ff4b53..b7a8248 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/SimpleVectorWrapper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/SimpleVectorWrapper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import org.apache.drill.exec.vector.ValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/TransferPair.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/TransferPair.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/TransferPair.java
index 2035cac..96a1c22 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/TransferPair.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/TransferPair.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import org.apache.drill.exec.vector.ValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/TypedFieldId.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/TypedFieldId.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/TypedFieldId.java
index 3905fa8..0fbd0ae 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/TypedFieldId.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/TypedFieldId.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import org.apache.drill.common.types.TypeProtos.MajorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorContainer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorContainer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorContainer.java
index 14c3a8d..939245b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorContainer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorContainer.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import java.lang.reflect.Array;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorWrapper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorWrapper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorWrapper.java
index 5188cc3..401b50e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorWrapper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/VectorWrapper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import org.apache.drill.exec.vector.ValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/WritableBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/WritableBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/WritableBatch.java
index eb9c2c7..5fb9b0a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/WritableBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/WritableBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector2.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector2.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector2.java
index 7191f1c..6105ead 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector2.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector2.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record.selection;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4.java
index 4b6c2c4..606103b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.record.selection;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4Builder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4Builder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4Builder.java
index 722f4d5..98e10ed 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4Builder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/selection/SelectionVector4Builder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record.selection;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/AbstractHandshakeHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/AbstractHandshakeHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/AbstractHandshakeHandler.java
index e5f2cc3..56267df 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/AbstractHandshakeHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/AbstractHandshakeHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.channel.ChannelHandlerContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Acks.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Acks.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Acks.java
index a241880..8429fb1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Acks.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Acks.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import org.apache.drill.exec.proto.GeneralRPCProtos.Ack;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BaseRpcOutcomeListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BaseRpcOutcomeListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BaseRpcOutcomeListener.java
index da2d13c..fd4dd18 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BaseRpcOutcomeListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BaseRpcOutcomeListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClient.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClient.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClient.java
index 23dc486..066af06 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClient.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClient.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.bootstrap.Bootstrap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClientWithConnection.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClientWithConnection.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClientWithConnection.java
index 2028db6..df8638b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClientWithConnection.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicClientWithConnection.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicServer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicServer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicServer.java
index 5643f47..a947f0a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicServer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/BasicServer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.bootstrap.ServerBootstrap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelClosedException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelClosedException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelClosedException.java
index e80292f..20994c2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelClosedException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelClosedException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
public class ChannelClosedException extends RpcException{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelListenerWithCoordinationId.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelListenerWithCoordinationId.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelListenerWithCoordinationId.java
index 27e9dee..3b95dd8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelListenerWithCoordinationId.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ChannelListenerWithCoordinationId.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.channel.ChannelFuture;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/CoordinationQueue.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/CoordinationQueue.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/CoordinationQueue.java
index 6b4351a..6e1cf79 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/CoordinationQueue.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/CoordinationQueue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFuture.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFuture.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFuture.java
index 2918d29..d969604 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFuture.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFuture.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFutureImpl.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFutureImpl.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFutureImpl.java
index 6a9d8c7..e87ed18 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFutureImpl.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/DrillRpcFutureImpl.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/InboundRpcMessage.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/InboundRpcMessage.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/InboundRpcMessage.java
index 650a8ea..1527e79 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/InboundRpcMessage.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/InboundRpcMessage.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -8,13 +8,13 @@
* with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/NamedThreadFactory.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/NamedThreadFactory.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/NamedThreadFactory.java
index 0df7719..2b49579 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/NamedThreadFactory.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/NamedThreadFactory.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import java.util.concurrent.ThreadFactory;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/OutboundRpcMessage.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/OutboundRpcMessage.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/OutboundRpcMessage.java
index e4858c4..b82df0f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/OutboundRpcMessage.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/OutboundRpcMessage.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/PositiveAtomicInteger.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/PositiveAtomicInteger.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/PositiveAtomicInteger.java
index b34cba7..1b32646 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/PositiveAtomicInteger.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/PositiveAtomicInteger.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import java.util.concurrent.atomic.AtomicInteger;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteConnection.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteConnection.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteConnection.java
index 35b5938..657b350 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteConnection.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteConnection.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.channel.Channel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteRpcException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteRpcException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteRpcException.java
index 2a535a7..af1316c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteRpcException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RemoteRpcException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import org.apache.drill.exec.proto.GeneralRPCProtos.RpcFailure;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Response.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Response.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Response.java
index 0c4ab7a..b65e756 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Response.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/Response.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import org.apache.drill.exec.proto.ExecProtos.RpcType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcBus.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcBus.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcBus.java
index 4e672b7..3f31431 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcBus.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcBus.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcCheckedFuture.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcCheckedFuture.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcCheckedFuture.java
index 8466c1c..8434ba9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcCheckedFuture.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcCheckedFuture.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConfig.java
index c6b4c49..6ab121e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConnectionHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConnectionHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConnectionHandler.java
index 0f55488..bcec2d4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConnectionHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConnectionHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
public interface RpcConnectionHandler<T extends RemoteConnection> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConstants.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConstants.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConstants.java
index b5b8df5..b1ae932 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConstants.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcConstants.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
public class RpcConstants {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcDecoder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcDecoder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcDecoder.java
index b7c2e83..abddcb3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcDecoder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcDecoder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcEncoder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcEncoder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcEncoder.java
index 8c8b6b9..9c3f5ca 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcEncoder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcEncoder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcException.java
index 500f959..ce22afc 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import java.util.concurrent.ExecutionException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcExceptionHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcExceptionHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcExceptionHandler.java
index 0123cad..d0a8086 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcExceptionHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcExceptionHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.channel.ChannelHandler;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcMessage.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcMessage.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcMessage.java
index 08ea150..7f97e27 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcMessage.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcMessage.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java
index 112924d..c60d1df 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcome.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcomeListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcomeListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcomeListener.java
index 7633316..a4bf2c2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcomeListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/RpcOutcomeListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ZeroCopyProtobufLengthDecoder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ZeroCopyProtobufLengthDecoder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ZeroCopyProtobufLengthDecoder.java
index 6186056..cff1a90 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ZeroCopyProtobufLengthDecoder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/ZeroCopyProtobufLengthDecoder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/AvailabilityListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/AvailabilityListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/AvailabilityListener.java
index ecaf8d3..ff3a032 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/AvailabilityListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/AvailabilityListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
public interface AvailabilityListener {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitClient.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitClient.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitClient.java
index 82a6aa6..7ada32c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitClient.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitClient.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCom.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCom.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCom.java
index f7f508e..b3bff9f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCom.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCom.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComDefaultInstanceHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComDefaultInstanceHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComDefaultInstanceHandler.java
index e1d4902..af3b10a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComDefaultInstanceHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComDefaultInstanceHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import org.apache.drill.exec.proto.ExecProtos.BitHandshake;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComImpl.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComImpl.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComImpl.java
index d1cadc7..0078b07 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComImpl.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitComImpl.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import java.util.concurrent.ConcurrentMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCommand.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCommand.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCommand.java
index 692c63e..90cbf93 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCommand.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitCommand.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import org.apache.drill.exec.rpc.RpcConnectionHandler;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnection.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnection.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnection.java
index f85ea74..97b5a79 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnection.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnection.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnectionManager.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnectionManager.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnectionManager.java
index d99bb22..6c6b6a0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnectionManager.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitConnectionManager.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.channel.ChannelFuture;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitRpcConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitRpcConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitRpcConfig.java
index 32fd4f9..8551357 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitRpcConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitRpcConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
[15/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ErrorCollectorImpl.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ErrorCollectorImpl.java b/common/src/main/java/org/apache/drill/common/expression/ErrorCollectorImpl.java
index 054e067..9e5747b 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ErrorCollectorImpl.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ErrorCollectorImpl.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionFunction.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionFunction.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionFunction.java
index 92a599f..0a514fd 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionFunction.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionFunction.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.lang.reflect.Constructor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionPosition.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionPosition.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionPosition.java
index 2e8b529..6509792 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionPosition.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionPosition.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression;
public class ExpressionPosition {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
index bce660d..69dd9b3 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionStringBuilder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression;
import org.apache.drill.common.expression.IfExpression.IfCondition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationError.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationError.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationError.java
index 50024a3..01bc6be 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationError.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationError.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
public class ExpressionValidationError {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationException.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationException.java
index c60c88d..32e70df 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationException.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidationException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
public class ExpressionValidationException extends RuntimeException {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ExpressionValidator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidator.java b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidator.java
index b3a034b..11d97e8 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ExpressionValidator.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ExpressionValidator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression;
import org.apache.drill.common.expression.IfExpression.IfCondition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FieldReference.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FieldReference.java b/common/src/main/java/org/apache/drill/common/expression/FieldReference.java
index cb3f0b4..f01d525 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FieldReference.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FieldReference.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FunctionCall.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionCall.java b/common/src/main/java/org/apache/drill/common/expression/FunctionCall.java
index d343fd6..a8b7e01 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionCall.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionCall.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FunctionDefinition.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionDefinition.java b/common/src/main/java/org/apache/drill/common/expression/FunctionDefinition.java
index 4cbab6a..fb00dc7 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionDefinition.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionDefinition.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FunctionInstance.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionInstance.java b/common/src/main/java/org/apache/drill/common/expression/FunctionInstance.java
index 322aec5..cda49e9 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionInstance.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionInstance.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FunctionName.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionName.java b/common/src/main/java/org/apache/drill/common/expression/FunctionName.java
index d490edd..21a323d 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionName.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionName.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/FunctionRegistry.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/FunctionRegistry.java b/common/src/main/java/org/apache/drill/common/expression/FunctionRegistry.java
index 2808356..73e1925 100644
--- a/common/src/main/java/org/apache/drill/common/expression/FunctionRegistry.java
+++ b/common/src/main/java/org/apache/drill/common/expression/FunctionRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/IfExpression.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/IfExpression.java b/common/src/main/java/org/apache/drill/common/expression/IfExpression.java
index 426aa6a..280952d 100644
--- a/common/src/main/java/org/apache/drill/common/expression/IfExpression.java
+++ b/common/src/main/java/org/apache/drill/common/expression/IfExpression.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/LogicalExpression.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/LogicalExpression.java b/common/src/main/java/org/apache/drill/common/expression/LogicalExpression.java
index ac19e01..70c2617 100644
--- a/common/src/main/java/org/apache/drill/common/expression/LogicalExpression.java
+++ b/common/src/main/java/org/apache/drill/common/expression/LogicalExpression.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/LogicalExpressionBase.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/LogicalExpressionBase.java b/common/src/main/java/org/apache/drill/common/expression/LogicalExpressionBase.java
index aa8885f..6f4ab86 100644
--- a/common/src/main/java/org/apache/drill/common/expression/LogicalExpressionBase.java
+++ b/common/src/main/java/org/apache/drill/common/expression/LogicalExpressionBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import org.apache.drill.common.types.TypeProtos.MajorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/NoArgValidator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/NoArgValidator.java b/common/src/main/java/org/apache/drill/common/expression/NoArgValidator.java
index 2b2c46d..eaabfeb 100644
--- a/common/src/main/java/org/apache/drill/common/expression/NoArgValidator.java
+++ b/common/src/main/java/org/apache/drill/common/expression/NoArgValidator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/OutputTypeDeterminer.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/OutputTypeDeterminer.java b/common/src/main/java/org/apache/drill/common/expression/OutputTypeDeterminer.java
index 229de3d..ed227ec 100644
--- a/common/src/main/java/org/apache/drill/common/expression/OutputTypeDeterminer.java
+++ b/common/src/main/java/org/apache/drill/common/expression/OutputTypeDeterminer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/PathSegment.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/PathSegment.java b/common/src/main/java/org/apache/drill/common/expression/PathSegment.java
index c6de1ab..91acdbe 100644
--- a/common/src/main/java/org/apache/drill/common/expression/PathSegment.java
+++ b/common/src/main/java/org/apache/drill/common/expression/PathSegment.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import org.apache.drill.common.expression.ValueExpressions.CollisionBehavior;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java b/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
index 20d3b43..31bac80 100644
--- a/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
+++ b/common/src/main/java/org/apache/drill/common/expression/SchemaPath.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ValidationError.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ValidationError.java b/common/src/main/java/org/apache/drill/common/expression/ValidationError.java
index fb0d006..195a6d8 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ValidationError.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ValidationError.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
public class ValidationError {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ValueExpressions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ValueExpressions.java b/common/src/main/java/org/apache/drill/common/expression/ValueExpressions.java
index 33c4612..9137356 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ValueExpressions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ValueExpressions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/aggregate/BasicAggregates.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/aggregate/BasicAggregates.java b/common/src/main/java/org/apache/drill/common/expression/aggregate/BasicAggregates.java
index 0321371..5f18aaf 100644
--- a/common/src/main/java/org/apache/drill/common/expression/aggregate/BasicAggregates.java
+++ b/common/src/main/java/org/apache/drill/common/expression/aggregate/BasicAggregates.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.aggregate;
public class BasicAggregates {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/AggregationFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/AggregationFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/AggregationFunctions.java
index eed9f1e..5b46b78 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/AggregationFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/AggregationFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.ArgumentValidators.AnyTypeAllowed;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/BooleanFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/BooleanFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/BooleanFunctions.java
index f780f85..f21b750 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/BooleanFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/BooleanFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.ArgumentValidators.AllowedTypeList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/MathFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/MathFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/MathFunctions.java
index b1e1b67..ee3a099 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/MathFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/MathFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/StringFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/StringFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/StringFunctions.java
index 70f6eae..1158115 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/StringFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/StringFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.Arg;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/TypeFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/TypeFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/TypeFunctions.java
index 77df207..23ca87c 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/TypeFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/TypeFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.ArgumentValidators.AnyTypeAllowed;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/fn/UnaryFunctions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/fn/UnaryFunctions.java b/common/src/main/java/org/apache/drill/common/expression/fn/UnaryFunctions.java
index 8b21d71..0a678fd 100644
--- a/common/src/main/java/org/apache/drill/common/expression/fn/UnaryFunctions.java
+++ b/common/src/main/java/org/apache/drill/common/expression/fn/UnaryFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.fn;
import org.apache.drill.common.expression.ArgumentValidators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/types/AtomType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/types/AtomType.java b/common/src/main/java/org/apache/drill/common/expression/types/AtomType.java
index f21ddb9..e2a78a1 100644
--- a/common/src/main/java/org/apache/drill/common/expression/types/AtomType.java
+++ b/common/src/main/java/org/apache/drill/common/expression/types/AtomType.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.types;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/types/DataType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/types/DataType.java b/common/src/main/java/org/apache/drill/common/expression/types/DataType.java
index 84ff054..12fe0e1 100644
--- a/common/src/main/java/org/apache/drill/common/expression/types/DataType.java
+++ b/common/src/main/java/org/apache/drill/common/expression/types/DataType.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.types;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/types/DataTypeFactory.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/types/DataTypeFactory.java b/common/src/main/java/org/apache/drill/common/expression/types/DataTypeFactory.java
index 2ad03df..9019a21 100644
--- a/common/src/main/java/org/apache/drill/common/expression/types/DataTypeFactory.java
+++ b/common/src/main/java/org/apache/drill/common/expression/types/DataTypeFactory.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.types;
public abstract class DataTypeFactory {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/types/LateBindType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/types/LateBindType.java b/common/src/main/java/org/apache/drill/common/expression/types/LateBindType.java
index da3d87a..79f09cd 100644
--- a/common/src/main/java/org/apache/drill/common/expression/types/LateBindType.java
+++ b/common/src/main/java/org/apache/drill/common/expression/types/LateBindType.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.types;
class LateBindType extends DataType {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/AbstractExprVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/AbstractExprVisitor.java b/common/src/main/java/org/apache/drill/common/expression/visitors/AbstractExprVisitor.java
index d561f7e..711bdb8 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/AbstractExprVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/AbstractExprVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.expression.FunctionCall;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/AggregateChecker.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/AggregateChecker.java b/common/src/main/java/org/apache/drill/common/expression/visitors/AggregateChecker.java
index aa44281..128f284 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/AggregateChecker.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/AggregateChecker.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.expression.FunctionCall;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/ConstantChecker.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/ConstantChecker.java b/common/src/main/java/org/apache/drill/common/expression/visitors/ConstantChecker.java
index f8984e9..02ce231 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/ConstantChecker.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/ConstantChecker.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.expression.FunctionCall;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/ExprVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/ExprVisitor.java b/common/src/main/java/org/apache/drill/common/expression/visitors/ExprVisitor.java
index cd27157..db34ab7 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/ExprVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/ExprVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.expression.FunctionCall;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/OpVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/OpVisitor.java b/common/src/main/java/org/apache/drill/common/expression/visitors/OpVisitor.java
index 983a258..b3c7879 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/OpVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/OpVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.graph.GraphVisitor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/visitors/SimpleExprVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/visitors/SimpleExprVisitor.java b/common/src/main/java/org/apache/drill/common/expression/visitors/SimpleExprVisitor.java
index 434bdaf..65a939b 100644
--- a/common/src/main/java/org/apache/drill/common/expression/visitors/SimpleExprVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/expression/visitors/SimpleExprVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression.visitors;
import org.apache.drill.common.expression.FunctionCall;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/AdjacencyList.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/AdjacencyList.java b/common/src/main/java/org/apache/drill/common/graph/AdjacencyList.java
index f23eeca..ac50047 100644
--- a/common/src/main/java/org/apache/drill/common/graph/AdjacencyList.java
+++ b/common/src/main/java/org/apache/drill/common/graph/AdjacencyList.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/AdjacencyListBuilder.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/AdjacencyListBuilder.java b/common/src/main/java/org/apache/drill/common/graph/AdjacencyListBuilder.java
index 4a385ce..e1a8d55 100644
--- a/common/src/main/java/org/apache/drill/common/graph/AdjacencyListBuilder.java
+++ b/common/src/main/java/org/apache/drill/common/graph/AdjacencyListBuilder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
import java.util.HashMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/Edge.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/Edge.java b/common/src/main/java/org/apache/drill/common/graph/Edge.java
index d444b9b..044ded1 100644
--- a/common/src/main/java/org/apache/drill/common/graph/Edge.java
+++ b/common/src/main/java/org/apache/drill/common/graph/Edge.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/Graph.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/Graph.java b/common/src/main/java/org/apache/drill/common/graph/Graph.java
index 295a81a..71c7923 100644
--- a/common/src/main/java/org/apache/drill/common/graph/Graph.java
+++ b/common/src/main/java/org/apache/drill/common/graph/Graph.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/GraphAlgos.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/GraphAlgos.java b/common/src/main/java/org/apache/drill/common/graph/GraphAlgos.java
index 692fd1b..1ea0740 100644
--- a/common/src/main/java/org/apache/drill/common/graph/GraphAlgos.java
+++ b/common/src/main/java/org/apache/drill/common/graph/GraphAlgos.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/GraphValue.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/GraphValue.java b/common/src/main/java/org/apache/drill/common/graph/GraphValue.java
index b1eeede..dacf74b 100644
--- a/common/src/main/java/org/apache/drill/common/graph/GraphValue.java
+++ b/common/src/main/java/org/apache/drill/common/graph/GraphValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/GraphVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/GraphVisitor.java b/common/src/main/java/org/apache/drill/common/graph/GraphVisitor.java
index 5ecdaea..810b738 100644
--- a/common/src/main/java/org/apache/drill/common/graph/GraphVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/graph/GraphVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/graph/Visitable.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/graph/Visitable.java b/common/src/main/java/org/apache/drill/common/graph/Visitable.java
index 90ee1d1..c97062e 100644
--- a/common/src/main/java/org/apache/drill/common/graph/Visitable.java
+++ b/common/src/main/java/org/apache/drill/common/graph/Visitable.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.graph;
public interface Visitable<T extends Visitable<?>> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/LogicalPlan.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/LogicalPlan.java b/common/src/main/java/org/apache/drill/common/logical/LogicalPlan.java
index 6692661..868f9ba 100644
--- a/common/src/main/java/org/apache/drill/common/logical/LogicalPlan.java
+++ b/common/src/main/java/org/apache/drill/common/logical/LogicalPlan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfig.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfig.java b/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfig.java
index b73a2c1..343c5db 100644
--- a/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfig.java
+++ b/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfigBase.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfigBase.java b/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfigBase.java
index 51dbef3..21468bc 100644
--- a/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfigBase.java
+++ b/common/src/main/java/org/apache/drill/common/logical/StorageEngineConfigBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/UnexpectedOperatorType.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/UnexpectedOperatorType.java b/common/src/main/java/org/apache/drill/common/logical/UnexpectedOperatorType.java
index d515503..21b2aa5 100644
--- a/common/src/main/java/org/apache/drill/common/logical/UnexpectedOperatorType.java
+++ b/common/src/main/java/org/apache/drill/common/logical/UnexpectedOperatorType.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/ValidationError.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/ValidationError.java b/common/src/main/java/org/apache/drill/common/logical/ValidationError.java
index f5b7ad5..54c9c82 100644
--- a/common/src/main/java/org/apache/drill/common/logical/ValidationError.java
+++ b/common/src/main/java/org/apache/drill/common/logical/ValidationError.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical;
public class ValidationError extends RuntimeException{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/CollapsingAggregate.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/CollapsingAggregate.java b/common/src/main/java/org/apache/drill/common/logical/data/CollapsingAggregate.java
index 49015ec..f4258fd 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/CollapsingAggregate.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/CollapsingAggregate.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Constant.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Constant.java b/common/src/main/java/org/apache/drill/common/logical/data/Constant.java
index 8a0024c..e05ce41 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Constant.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Constant.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Filter.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Filter.java b/common/src/main/java/org/apache/drill/common/logical/data/Filter.java
index e23f9ff..0fba804 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Filter.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Filter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Flatten.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Flatten.java b/common/src/main/java/org/apache/drill/common/logical/data/Flatten.java
index 114ba0a..dce509f 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Flatten.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Flatten.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
[10/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate.java
index a7e8f0c..a03d48f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/Filterer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/Filterer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/Filterer.java
index fec147f..b821720 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/Filterer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/Filterer.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java
index 21373a1..4ec4b09 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/ReturnValueExpression.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinStatus.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinStatus.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinStatus.java
index 84a11fc..762cce7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinStatus.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinStatus.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.join;
import org.apache.drill.exec.physical.impl.join.JoinWorker.JoinOutcome;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinTemplate.java
index 9a3042b..b7fdbf3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.join;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinWorker.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinWorker.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinWorker.java
index 6708279..4374cef 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinWorker.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/JoinWorker.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.join;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java
index a8fd276..1f5c707 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.join;
import static org.apache.drill.exec.compile.sig.GeneratorMapping.GM;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatchBuilder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatchBuilder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatchBuilder.java
index 85ca43d..b07711e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatchBuilder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinBatchBuilder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.join;
import com.google.common.collect.ArrayListMultimap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinCreator.java
index 9940219..9428b46 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/join/MergeJoinCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.join;
import com.google.common.base.Preconditions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/QueryWritableBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/QueryWritableBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/QueryWritableBatch.java
index e8ed48a..f6550f3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/QueryWritableBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/QueryWritableBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl.materialize;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/RecordMaterializer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/RecordMaterializer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/RecordMaterializer.java
index b62e52b..aa7f86e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/RecordMaterializer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/RecordMaterializer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl.materialize;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/VectorRecordMaterializer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/VectorRecordMaterializer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/VectorRecordMaterializer.java
index 85d7991..e884f8a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/VectorRecordMaterializer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/materialize/VectorRecordMaterializer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl.materialize;
import org.apache.drill.exec.ops.FragmentContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/OutgoingRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/OutgoingRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/OutgoingRecordBatch.java
index 4c8c8d3..2940dc0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/OutgoingRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/OutgoingRecordBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.partitionsender;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderCreator.java
index a119b5b..2ced9dd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.partitionsender;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderRootExec.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderRootExec.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderRootExec.java
index 219f520..033dd51 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderRootExec.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionSenderRootExec.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.partitionsender;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/Partitioner.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/Partitioner.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/Partitioner.java
index aa96d3f..7d3998b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/Partitioner.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/Partitioner.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.partitionsender;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java
index 4fdd740..1b0aad2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/partitionsender/PartitionerTemplate.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.partitionsender;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectBatchCreator.java
index 3538469..929071d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectBatchCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.project;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectRecordBatch.java
index 14a4905..2386dc2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.project;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/Projector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/Projector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/Projector.java
index 327f8b8..2857fe1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/Projector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/Projector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.project;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectorTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectorTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectorTemplate.java
index 0f4b90d..bd26ce4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectorTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/project/ProjectorTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.project;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/RecordBatchData.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/RecordBatchData.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/RecordBatchData.java
index 7e44429..1226e85 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/RecordBatchData.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/RecordBatchData.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatch.java
index 61bcf34..3fd590c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatchCreator.java
index 0a671a8..cd5079f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortBatchCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortRecordBatchBuilder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortRecordBatchBuilder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortRecordBatchBuilder.java
index daf96fc..8873792 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortRecordBatchBuilder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortRecordBatchBuilder.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortTemplate.java
index ddd066f..43ed7e4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/SortTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/Sorter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/Sorter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/Sorter.java
index 9cf98e3..2099a7c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/Sorter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/sort/Sorter.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/Copier.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/Copier.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/Copier.java
index 7495e31..dad8858 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/Copier.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/Copier.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate2.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate2.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate2.java
index 563037f..a8b1eec 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate2.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate2.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate4.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate4.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate4.java
index 6bf952d..ea35272 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate4.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/CopierTemplate4.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/RemovingRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/RemovingRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/RemovingRecordBatch.java
index aaa6d7e..663f4c3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/RemovingRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/RemovingRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/SVRemoverCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/SVRemoverCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/SVRemoverCreator.java
index 88708e2..a932b44 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/SVRemoverCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/svremover/SVRemoverCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionBatchCreator.java
index 1945139..d9f8813 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionBatchCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.union;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionRecordBatch.java
index b77d4f4..0fc5e0f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/union/UnionRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.union;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/AbstractOpWrapperVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/AbstractOpWrapperVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/AbstractOpWrapperVisitor.java
index 9b2cb85..26398d2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/AbstractOpWrapperVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/AbstractOpWrapperVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner;
import org.apache.drill.exec.physical.base.AbstractPhysicalVisitor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/ExecPlanner.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/ExecPlanner.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/ExecPlanner.java
index 94904a1..2f4f7e2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/ExecPlanner.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/ExecPlanner.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PhysicalPlanReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PhysicalPlanReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PhysicalPlanReader.java
index b04e154..e270b79 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PhysicalPlanReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/PhysicalPlanReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/SimpleExecPlanner.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/SimpleExecPlanner.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/SimpleExecPlanner.java
index 824b2e2..78c455d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/SimpleExecPlanner.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/SimpleExecPlanner.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Fragment.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Fragment.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Fragment.java
index 3284086..5454e8f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Fragment.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Fragment.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/FragmentVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/FragmentVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/FragmentVisitor.java
index 0cba2ec..e2dd6dd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/FragmentVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/FragmentVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java
index d3c8cee..58a5646 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MakeFragmentsVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import org.apache.drill.exec.exception.FragmentSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MaterializedFragment.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MaterializedFragment.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MaterializedFragment.java
index e292cd2..2624940 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MaterializedFragment.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/MaterializedFragment.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import org.apache.drill.exec.physical.OperatorCost;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
index ab91d76..70200a9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Materializer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/PlanningSet.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/PlanningSet.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/PlanningSet.java
index fb04255..6795588 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/PlanningSet.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/PlanningSet.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/SimpleParallelizer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/SimpleParallelizer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/SimpleParallelizer.java
index 2ccb17c..fd1984c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/SimpleParallelizer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/SimpleParallelizer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java
index 729b2f1..540f3f3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Stats.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import org.apache.drill.exec.physical.OperatorCost;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java
index 2ef5295..0368d0c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/StatsCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import org.apache.drill.exec.physical.base.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Wrapper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Wrapper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Wrapper.java
index 7e2497e..8b0cc91 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Wrapper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/planner/fragment/Wrapper.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.planner.fragment;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractRecordBatch.java
index aba023d..27d3de1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractSingleRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractSingleRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractSingleRecordBatch.java
index 63c31a4..25284b6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractSingleRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/AbstractSingleRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import org.apache.drill.exec.exception.SchemaChangeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/BatchSchema.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/BatchSchema.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/BatchSchema.java
index 1ef6f44..991ade6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/BatchSchema.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/BatchSchema.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/DeadBuf.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/DeadBuf.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/DeadBuf.java
index 5e81e6a..61c1689 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/DeadBuf.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/DeadBuf.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java
index 3c25204..a1f22c2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/FragmentWritableBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/HyperVectorWrapper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/HyperVectorWrapper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/HyperVectorWrapper.java
index 5d07849..d6d49c9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/HyperVectorWrapper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/HyperVectorWrapper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import java.lang.reflect.Array;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/MajorTypeSerDe.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MajorTypeSerDe.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MajorTypeSerDe.java
index 8799546..a080d96 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MajorTypeSerDe.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MajorTypeSerDe.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.record;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializeVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializeVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializeVisitor.java
index e28778f..8858e17 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializeVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/record/MaterializeVisitor.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
public interface MaterializeVisitor {
[17/29] git commit: DRILL-222 Update LICENSE and NOTICE files to
incorporate dependencies correctly
Posted by ja...@apache.org.
DRILL-222 Update LICENSE and NOTICE files to incorporate dependencies correctly
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/a1e20fd7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/a1e20fd7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/a1e20fd7
Branch: refs/heads/master
Commit: a1e20fd79eaa93bcb7f523712d20e9e575dbe4ea
Parents: 479ddad
Author: Steven Phillips <sp...@maprtech.com>
Authored: Mon Sep 9 22:27:18 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 14:31:45 2013 -0700
----------------------------------------------------------------------
LICENSE | 454 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
NOTICE | 7 +
2 files changed, 461 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/a1e20fd7/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index f62230e..f3a6a10 100644
--- a/LICENSE
+++ b/LICENSE
@@ -207,3 +207,457 @@ The compiled Apache Drill distribution includes the following sources/binaries.
The use of these sources/binaries is subject to the terms and conditions of
their respective licenses.
+For
+
+ ant (http://www.apache.org/ant/) ant:ant:jar:1.6.5
+ Bean Validation API javax.validation:validation-api:jar:1.0.0.GA
+ Common (Logical Plan, Base expressions) (http://www.apache.org/drill-root/common/) org.apache.drill:common:jar:1.0.0-m1
+ Commons BeanUtils Core (http://commons.apache.org/beanutils/) commons-beanutils:commons-beanutils-core:jar:1.8.0
+ Commons CLI (http://commons.apache.org/cli/) commons-cli:commons-cli:jar:1.2
+ Commons Codec (http://commons.apache.org/codec/) commons-codec:commons-codec:jar:1.4
+ Commons Codec (http://commons.apache.org/codec/) commons-codec:commons-codec:jar:1.7
+ Commons Collections (http://commons.apache.org/collections/) commons-collections:commons-collections:jar:3.2.1
+ Commons Configuration (http://commons.apache.org/${pom.artifactId.substring(8)}/) commons-configuration:commons-configuration:jar:1.6
+ Commons DBCP (http://commons.apache.org/dbcp/) commons-dbcp:commons-dbcp:jar:1.4
+ Commons IO (http://commons.apache.org/io/) commons-io:commons-io:jar:2.1
+ Commons Lang (http://commons.apache.org/lang/) commons-lang:commons-lang:jar:2.4
+ Commons Lang (http://commons.apache.org/lang/) org.apache.commons:commons-lang3:jar:3.1
+ Commons Math (http://commons.apache.org/math/) org.apache.commons:commons-math:jar:2.1
+ Commons Pool (http://commons.apache.org/pool/) commons-pool:commons-pool:jar:1.5.4
+ config (https://github.com/typesafehub/config) com.typesafe:config:bundle:1.0.0
+ curator-client (https://github.com/Netflix/curator) com.netflix.curator:curator-client:jar:1.1.9
+ curator-framework (https://github.com/Netflix/curator) com.netflix.curator:curator-framework:jar:1.1.9
+ curator-x-discovery (https://github.com/Netflix/curator) com.netflix.curator:curator-x-discovery:jar:1.1.9
+ Data Mapper for Jackson (http://jackson.codehaus.org) org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8
+ Data Mapper for Jackson (http://jackson.codehaus.org) org.codehaus.jackson:jackson-mapper-asl:jar:1.9.2
+ Digester (http://jakarta.apache.org/commons/digester/) commons-digester:commons-digester:jar:1.8
+ eigenbase-properties (http://github.com/julianhyde/eigenbase-properties) eigenbase:eigenbase-properties:jar:1.1.2
+ eigenbase-resgen (http://github.com/julianhyde/eigenbase-resgen) eigenbase:eigenbase-resgen:jar:1.3.1
+ eigenbase-xom (http://github.com/julianhyde/eigenbase-xom) eigenbase:eigenbase-xom:jar:1.3.1
+ EL (http://jakarta.apache.org/commons/el/) commons-el:commons-el:jar:1.0
+ exec/Java Execution Engine (http://www.apache.org/drill-root/exec-parent/java-exec/) org.apache.drill.exec:java-exec:jar:1.0.0-m1
+ exec/Netty Little Endian Buffers (http://www.apache.org/drill-root/exec-parent/netty-bufferl/) org.apache.drill.exec:netty-bufferl:jar:4.0.7.Final
+ exec/Reference Interpreter (http://www.apache.org/drill-root/exec-parent/ref/) org.apache.drill.exec:ref:jar:1.0.0-m1
+ Glassfish Jasper API (http://jetty.mortbay.org/project/modules/jsp-api-2.1) org.mortbay.jetty:jsp-api-2.1:jar:6.1.14
+ Guava: Google Core Libraries for Java (http://code.google.com/p/guava-libraries/guava) com.google.guava:guava:bundle:14.0.1
+ hazelcast (http://www.hazelcast.com/hazelcast/) com.hazelcast:hazelcast:jar:2.5.1
+ Hibernate Validator Engine (http://validator.hibernate.org/hibernate-validator) org.hibernate:hibernate-validator:jar:4.3.1.Final
+ HPPC Collections (http://labs.carrotsearch.com/hppc.html/hppc) com.carrotsearch:hppc:jar:0.4.2
+ HttpClient (http://jakarta.apache.org/commons/httpclient/) commons-httpclient:commons-httpclient:jar:3.0.1
+ Jackson (http://jackson.codehaus.org) org.codehaus.jackson:jackson-core-asl:jar:1.7.1
+ Jackson (http://jackson.codehaus.org) org.codehaus.jackson:jackson-core-asl:jar:1.9.2
+ Jackson-annotations (http://wiki.fasterxml.com/JacksonHome) com.fasterxml.jackson.core:jackson-annotations:jar:2.1.1
+ Jackson-core (http://wiki.fasterxml.com/JacksonHome) com.fasterxml.jackson.core:jackson-core:jar:2.1.1
+ jackson-databind (http://wiki.fasterxml.com/JacksonHome) com.fasterxml.jackson.core:jackson-databind:jar:2.1.1
+ Jakarta Commons Net (http://jakarta.apache.org/commons/${pom.artifactId.substring(8)}/) commons-net:commons-net:jar:1.4.1
+ Javassist (http://www.javassist.org/) org.javassist:javassist:jar:3.16.1-GA
+ javax.inject (http://code.google.com/p/atinject/) javax.inject:javax.inject:jar:1
+ JAX-RS provider for JSON content type (http://jackson.codehaus.org) org.codehaus.jackson:jackson-jaxrs:jar:1.7.1
+ JCL 1.1.1 implemented over SLF4J (http://www.slf4j.org) org.slf4j:jcl-over-slf4j:jar:1.7.5
+ JCommander (http://beust.com/jcommander) com.beust:jcommander:jar:1.30
+ Jetty Server (http://www.eclipse.org/jetty/jetty-parent/project/modules/jetty) org.mortbay.jetty:jetty:jar:6.1.26
+ Jetty Utilities (http://www.eclipse.org/jetty/jetty-parent/project/jetty-util) org.mortbay.jetty:jetty-util:jar:6.1.26
+ JSON.simple (http://code.google.com/p/json-simple/) com.googlecode.json-simple:json-simple:bundle:1.1.1
+ linq4j (http://github.com/julianhyde/linq4j) net.hydromatic:linq4j:jar:0.1.8
+ Log4j Implemented Over SLF4J (http://www.slf4j.org) org.slf4j:log4j-over-slf4j:jar:1.7.5
+ MessagePack for Java (http://msgpack.org/) org.msgpack:msgpack:bundle:0.6.6
+ Metrics Core Library (http://metrics.codahale.com/metrics-core/) com.yammer.metrics:metrics-core:bundle:3.0.0-BETA1
+ mondrian-data-foodmart-json (http://mondrian.pentaho.com) pentaho:mondrian-data-foodmart-json:jar:0.2
+ MongoDB Java Driver (http://www.mongodb.org) org.mongodb:mongo-java-driver:jar:2.11.1
+ Netty/Buffer (http://netty.io/netty-buffer/) io.netty:netty-buffer:bundle:4.0.7.Final
+ Netty/Codec (http://netty.io/netty-codec/) io.netty:netty-codec:bundle:4.0.7.Final
+ Netty/Common (http://netty.io/netty-common/) io.netty:netty-common:bundle:4.0.7.Final
+ Netty/Handler (http://netty.io/netty-handler/) io.netty:netty-handler:bundle:4.0.7.Final
+ Netty/Transport (http://netty.io/netty-transport/) io.netty:netty-transport:bundle:4.0.7.Final
+ optiq (http://github.com/julianhyde/optiq) net.hydromatic:optiq:jar:0.4.10
+ Parquet Column (https://github.com/Parquet/parquet-mr) com.twitter:parquet-column:jar:1.0.1
+ Parquet Common (https://github.com/Parquet/parquet-mr) com.twitter:parquet-common:jar:1.0.1
+ Parquet Encodings (https://github.com/Parquet/parquet-mr) com.twitter:parquet-encoding:jar:1.0.1
+ parquet format metadata (http://github.com/Parquet/parquet-format) com.twitter:parquet-format:jar:1.0.0
+ Parquet Generator (https://github.com/Parquet/parquet-mr) com.twitter:parquet-generator:jar:1.0.1
+ Parquet Hadoop (https://github.com/Parquet/parquet-mr) com.twitter:parquet-hadoop:jar:1.0.1
+ Servlet Specification API (http://jetty.mortbay.org/servlet-api) org.mortbay.jetty:servlet-api:jar:2.5-20081211
+ Snappy for Java (http://github.com/xerial/snappy-java/) org.xerial.snappy:snappy-java:bundle:1.0.5-M3
+ SQL Parser (http://www.apache.org/drill-root/sqlparser/) org.apache.drill:sqlparser:jar:1.0.0-m1
+ StAX API (http://stax.codehaus.org/) stax:stax-api:jar:1.0.1
+ The Netty Project (http://www.jboss.org/netty/) org.jboss.netty:netty:bundle:3.2.2.Final
+ Xalan Java (http://xml.apache.org/xalan-j/) xalan:xalan:jar:2.7.1
+ Xalan Java Serializer (http://xml.apache.org/xalan-j/) xalan:serializer:jar:2.7.1
+ Xerces2 Java Parser (http://xerces.apache.org/xerces2-j) xerces:xercesImpl:jar:2.9.1
+ XML Commons External Components XML APIs (http://xml.apache.org/commons/#external) xml-apis:xml-apis:jar:1.0.b2
+ XML Commons External Components XML APIs (http://xml.apache.org/commons/components/external/) xml-apis:xml-apis:jar:1.3.04
+ Xml Compatibility extensions for Jackson (http://jackson.codehaus.org) org.codehaus.jackson:jackson-xc:jar:1.7.1
+
+ The Apache License, Version 2.0
+
+For
+ AntLR Parser Generator
+ ANTLR StringTemplate
+
+Copyright (c) 2012 Terence Parr and Sam Harwell
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ ASM Core (http://asm.objectweb.org/asm/) org.ow2.asm:asm:jar:4.1
+ ASM Commons (http://asm.objectweb.org/asm-commons/) org.ow2.asm:asm-commons:jar:4.1
+ ASM Tree (http://asm.objectweb.org/asm-tree/) org.ow2.asm:asm-tree:jar:4.1
+ ASM Util (http://asm.objectweb.org/asm-util/) org.ow2.asm:asm-util:jar:4.1
+
+Copyright (c) 2000-2011 INRIA, France Telecom
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+
+3. Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ JLine (http://jline.sourceforge.net) jline:jline:jar:0.9.94
+ JLine (http://nexus.sonatype.org/oss-repository-hosting.html/jline) jline:jline:jar:2.10
+
+Copyright (c) 2002-2006, Marc Prud'hommeaux <mw...@cornell.edu>
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or
+without modification, are permitted provided that the following
+conditions are met:
+
+Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright
+notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with
+the distribution.
+
+Neither the name of JLine nor the names of its contributors
+may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
+BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
+OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ xmlenc Library (http://xmlenc.sourceforge.net) xmlenc:xmlenc:jar:0.52
+
+Copyright 2003-2005, Ernst de Haan <wf...@gmail.com>
+All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ ParaNamer Core (http://paranamer.codehaus.org/paranamer) com.thoughtworks.paranamer:paranamer:jar:2.5.6
+
+Copyright (c) 2006 Paul Hammant & ThoughtWorks Inc
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ 3. Neither the name of the copyright holders nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ Commons Compiler (http://docs.codehaus.org/display/JANINO/Home/commons-compiler) org.codehaus.janino:commons-compiler:jar:2.6.1
+ Commons Compiler Jdk (http://docs.codehaus.org/display/JANINO/Home/commons-compiler-jdk) org.codehaus.janino:commons-compiler-jdk:jar:2.6.1
+ Janino (http://docs.codehaus.org/display/JANINO/Home/janino) org.codehaus.janino:janino:jar:2.6.1
+
+Copyright (c) 2001-2010, Arno Unkrig
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following
+ disclaimer in the documentation and/or other materials
+ provided with the distribution.
+ 3. The name of the author may not be used to endorse or promote
+ products derived from this software without specific prior
+ written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
+IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
+IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ Protocol Buffer Java API (http://code.google.com/p/protobuf) com.google.protobuf:protobuf-java:bundle:2.5.0
+ Protocol Buffer Java API (http://code.google.com/p/protobuf) com.google.protobuf:protobuf-java:jar:2.4.1
+
+Copyright 2008, Google Inc.
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are
+met:
+
+ * Redistributions of source code must retain the above copyright
+notice, this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above
+copyright notice, this list of conditions and the following disclaimer
+in the documentation and/or other materials provided with the
+distribution.
+ * Neither the name of Google Inc. nor the names of its
+contributors may be used to endorse or promote products derived from
+this software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ sqlline (http://github.com/julianhyde/sqlline) sqlline:sqlline:jar:1.1.0
+
+Copyright (c) 2002,2003,2004,2005,2006,2007 Marc Prud'hommeaux
+Copyright (c) 2004-2010 The Eigenbase Project
+Copyright (c) 2013-2013 Julian Hyde
+All rights reserved.
+
+===============================================================================
+
+Licensed under the Modified BSD License (the "License"); you may not
+use this file except in compliance with the License. You may obtain a
+copy of the License at:
+
+http://opensource.org/licenses/BSD-3-Clause
+
+Redistribution and use in source and binary forms,
+with or without modification, are permitted provided
+that the following conditions are met:
+
+(1) Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+
+(2) Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the
+ distribution.
+
+(3) The name of the author may not be used to endorse or promote
+ products derived from this software without specific prior written
+ permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ Glassfish Jasper (http://jetty.mortbay.org/project/modules/jsp-2.1) org.mortbay.jetty:jsp-2.1:jar:6.1.14
+ Servlet Specification 2.5 API (http://jetty.mortbay.org/project/modules/servlet-api-2.5) org.mortbay.jetty:servlet-api-2.5:jar:6.1.14
+ JavaBeans Activation Framework (JAF) (http://java.sun.com/products/javabeans/jaf/index.jsp) javax.activation:activation:jar:1.1
+
+CDDL v1.0 (https://glassfish.java.net/public/CDDLv1.0.html)
+
+For
+ JAXB API bundle for GlassFish V3 (https://jaxb.dev.java.net/) javax.xml.bind:jaxb-api:jar:2.2.2
+ JAXB RI (http://jaxb.java.net/) com.sun.xml.bind:jaxb-impl:jar:2.2.3-1
+ jersey-core (https://jersey.dev.java.net/jersey-core/) com.sun.jersey:jersey-core:bundle:1.8
+ jersey-json (https://jersey.dev.java.net/jersey-json/) com.sun.jersey:jersey-json:bundle:1.8
+
+CDDL v1.1 (https://glassfish.java.net/public/CDDL+GPL_1_1.html)
+
+
+
+For
+ Mockito (http://www.mockito.org) org.mockito:mockito-all:jar:1.9.0
+
+Copyright (c) 2007 Mockito contributors
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
+to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
+and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+For
+ SLF4J API Module (http://www.slf4j.org) org.slf4j:slf4j-api:jar:1.7.5
+
+Copyright (c) 2004-2007 QOS.ch
+All rights reserved.
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+For
+ HSQLDB (http://hsqldb.org/) hsqldb:hsqldb:jar:1.8.0.10
+
+Copyright (c) 2001-2010, The HSQL Development Group
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+Redistributions of source code must retain the above copyright notice, this
+list of conditions and the following disclaimer.
+
+Redistributions in binary form must reproduce the above copyright notice,
+this list of conditions and the following disclaimer in the documentation
+and/or other materials provided with the distribution.
+
+Neither the name of the HSQL Development Group nor the names of its
+contributors may be used to endorse or promote products derived from this
+software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ARE DISCLAIMED. IN NO EVENT SHALL HSQL DEVELOPMENT GROUP, HSQLDB.ORG,
+OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+For
+ Reflections (http://code.google.com/p/reflections/) org.reflections:reflections:jar:0.9.8
+
+ License: WTFPL (http://en.wikipedia.org/wiki/WTFPL)
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/a1e20fd7/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
new file mode 100644
index 0000000..4a98a67
--- /dev/null
+++ b/NOTICE
@@ -0,0 +1,7 @@
+==============================================================
+ Apache Drill
+ Copyright 2013 The Apache Software Foundation
+==============================================================
+
+This product includes software developed by
+The Apache Software Foundation (http://www.apache.org/).
[06/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/TunnelManager.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/TunnelManager.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/TunnelManager.java
index ad3534c..9307034 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/TunnelManager.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/TunnelManager.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.foreman;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/IncomingFragmentHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/IncomingFragmentHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/IncomingFragmentHandler.java
index b23f003..a29c600 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/IncomingFragmentHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/IncomingFragmentHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.fragment;
import org.apache.drill.exec.exception.FragmentSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/LocalFragmentHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/LocalFragmentHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/LocalFragmentHandler.java
index 5ffd09a..12a7501 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/LocalFragmentHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/LocalFragmentHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.fragment;
import org.apache.drill.exec.exception.FragmentSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/RemoteFragmentHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/RemoteFragmentHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/RemoteFragmentHandler.java
index d63b4f4..d947d68 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/RemoteFragmentHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/fragment/RemoteFragmentHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.fragment;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/user/UserWorker.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/user/UserWorker.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/user/UserWorker.java
index 621c7cb..6f2d85a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/user/UserWorker.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/user/UserWorker.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.user;
import java.util.UUID;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/parquet/hadoop/CodecFactoryExposer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/parquet/hadoop/CodecFactoryExposer.java b/exec/java-exec/src/main/java/parquet/hadoop/CodecFactoryExposer.java
index 4998888..dcd20b1 100644
--- a/exec/java-exec/src/main/java/parquet/hadoop/CodecFactoryExposer.java
+++ b/exec/java-exec/src/main/java/parquet/hadoop/CodecFactoryExposer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package parquet.hadoop;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/DrillSystemTestBase.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/DrillSystemTestBase.java b/exec/java-exec/src/test/java/org/apache/drill/exec/DrillSystemTestBase.java
index d113ca3..78c46f6 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/DrillSystemTestBase.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/DrillSystemTestBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec;
import com.google.common.collect.ImmutableList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/SortTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/SortTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/SortTest.java
index 3e38a0e..7cdf969 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/SortTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/SortTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec;
import java.util.Random;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/client/DrillClientSystemTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/client/DrillClientSystemTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/client/DrillClientSystemTest.java
index bcd13e9..6bcc2f6 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/client/DrillClientSystemTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/client/DrillClientSystemTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.client;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleExternalInterface.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleExternalInterface.java b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleExternalInterface.java
index 66d2fac..cbc8a0d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleExternalInterface.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleExternalInterface.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
public interface ExampleExternalInterface {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleTemplate.java b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleTemplate.java
index e8ede05..0011905 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleTemplate.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/ExampleTemplate.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
public abstract class ExampleTemplate implements ExampleExternalInterface{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassCompilationTypes.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassCompilationTypes.java b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassCompilationTypes.java
index 2f8aa18..ab9b017 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassCompilationTypes.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassCompilationTypes.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import org.codehaus.commons.compiler.jdk.ExpressionEvaluator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
index 7bf623c..77c27a0 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/compile/TestClassTransformation.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.compile;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/expr/EscapeTest1.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/EscapeTest1.java b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/EscapeTest1.java
index a41a883..7e6868a 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/EscapeTest1.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/EscapeTest1.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import java.nio.ByteBuffer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java
index 38a4236..4bff5a3 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/expr/ExpressionTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.expr;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestRepeatedFunction.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestRepeatedFunction.java b/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestRepeatedFunction.java
index 1c51919..ac05319 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestRepeatedFunction.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/fn/impl/TestRepeatedFunction.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.fn.impl;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/memory/TestEndianess.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/memory/TestEndianess.java b/exec/java-exec/src/test/java/org/apache/drill/exec/memory/TestEndianess.java
index 155b8da..885de49 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/memory/TestEndianess.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/memory/TestEndianess.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.memory;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/opt/BasicOptimizerTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/opt/BasicOptimizerTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/opt/BasicOptimizerTest.java
index 30602e6..8f109c6 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/opt/BasicOptimizerTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/opt/BasicOptimizerTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.opt;
import org.apache.drill.common.config.DrillConfig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/config/TestParsePhysicalPlan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/config/TestParsePhysicalPlan.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/config/TestParsePhysicalPlan.java
index dff17ce..02a99e0 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/config/TestParsePhysicalPlan.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/config/TestParsePhysicalPlan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import org.apache.drill.common.config.DrillConfig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/PerformanceTests.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/PerformanceTests.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/PerformanceTests.java
index d2655e1..c75808d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/PerformanceTests.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/PerformanceTests.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl;
import com.google.caliper.runner.CaliperMain;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/SimpleRootExec.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/SimpleRootExec.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/SimpleRootExec.java
index 6edde0d..c4533b1 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/SimpleRootExec.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/SimpleRootExec.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestComparisonFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestComparisonFunctions.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestComparisonFunctions.java
index ff67cf2..c47fa89 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestComparisonFunctions.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestComparisonFunctions.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl;
import com.google.common.base.Charsets;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
index f6d83cc..d008723 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestDistributedFragmentRun.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestExecutionAbstractions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestExecutionAbstractions.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestExecutionAbstractions.java
index 31f09af..24cae70 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestExecutionAbstractions.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestExecutionAbstractions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl;
import java.lang.reflect.Field;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestHashToRandomExchange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestHashToRandomExchange.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestHashToRandomExchange.java
index a25e234..bbe1c18 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestHashToRandomExchange.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestHashToRandomExchange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestOptiqPlans.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestOptiqPlans.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestOptiqPlans.java
index 1dace1d..7e7ac63 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestOptiqPlans.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestOptiqPlans.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFragmentRun.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFragmentRun.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFragmentRun.java
index d35e38f..b4dc943 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFragmentRun.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFragmentRun.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFunctions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFunctions.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFunctions.java
index 2209e58..cbb3e54 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFunctions.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/TestSimpleFunctions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/agg/TestAgg.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/agg/TestAgg.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/agg/TestAgg.java
index b13948d..7ce69e2 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/agg/TestAgg.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/agg/TestAgg.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.agg;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/filter/TestSimpleFilter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/filter/TestSimpleFilter.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/filter/TestSimpleFilter.java
index 26c8a25..6841662 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/filter/TestSimpleFilter.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/filter/TestSimpleFilter.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoin.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoin.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoin.java
index a8b48a7..ceebe55 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoin.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/join/TestMergeJoin.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.physical.impl.join;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestSimpleProjection.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestSimpleProjection.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestSimpleProjection.java
index 3149c77..884887d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestSimpleProjection.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/project/TestSimpleProjection.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.project;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/sort/TestSimpleSort.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/sort/TestSimpleSort.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/sort/TestSimpleSort.java
index af5ec06..fd813b4 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/sort/TestSimpleSort.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/sort/TestSimpleSort.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.sort;
import static org.junit.Assert.assertTrue;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/svremover/TestSVRemover.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/svremover/TestSVRemover.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/svremover/TestSVRemover.java
index ed40c52..634182a 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/svremover/TestSVRemover.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/svremover/TestSVRemover.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.svremover;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/union/TestSimpleUnion.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/union/TestSimpleUnion.java b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/union/TestSimpleUnion.java
index 1dbefb1..92c745f 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/union/TestSimpleUnion.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/physical/impl/union/TestSimpleUnion.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.union;
import com.google.common.base.Charsets;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/pop/PopUnitTestBase.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/PopUnitTestBase.java b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/PopUnitTestBase.java
index e5e109e..294a4f0 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/PopUnitTestBase.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/PopUnitTestBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.pop;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmentChecker.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmentChecker.java b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmentChecker.java
index ec751f1..7bb90ee 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmentChecker.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmentChecker.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.pop;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmenter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmenter.java b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmenter.java
index a4d354b..d72e47f 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmenter.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestFragmenter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.pop;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestInjectionValue.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestInjectionValue.java b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestInjectionValue.java
index 606c531..f7c0d06 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestInjectionValue.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/pop/TestInjectionValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.pop;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/record/ExpressionTreeMaterializerTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/record/ExpressionTreeMaterializerTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/record/ExpressionTreeMaterializerTest.java
index f0d9901..7ee1718 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/record/ExpressionTreeMaterializerTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/record/ExpressionTreeMaterializerTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestLoad.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestLoad.java b/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestLoad.java
index 70f43ab..94d66d4 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestLoad.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestLoad.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record.vector;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestValueVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestValueVector.java b/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestValueVector.java
index b4412c0..cc4279d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestValueVector.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/record/vector/TestValueVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.record.vector;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
index 038b093..eaf6f5d 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/server/TestBitRpc.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/ByteArrayUtil.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/ByteArrayUtil.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/ByteArrayUtil.java
index ea1404b..bc678e2 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/ByteArrayUtil.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/ByteArrayUtil.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
//TODO - make sure we figure out the license on these
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/JSONRecordReaderTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/JSONRecordReaderTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/JSONRecordReaderTest.java
index f0217be..0b134ca 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/JSONRecordReaderTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/JSONRecordReaderTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/ParquetRecordReaderTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/ParquetRecordReaderTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/ParquetRecordReaderTest.java
index 93f1f73..38a624c 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/ParquetRecordReaderTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/ParquetRecordReaderTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import com.beust.jcommander.internal.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestAffinityCalculator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestAffinityCalculator.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestAffinityCalculator.java
index b25c805..574e847 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestAffinityCalculator.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestAffinityCalculator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import com.google.common.collect.ImmutableRangeMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestParquetPhysicalPlan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestParquetPhysicalPlan.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestParquetPhysicalPlan.java
index d520abe..bdbccf5 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestParquetPhysicalPlan.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/TestParquetPhysicalPlan.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import com.google.common.base.Charsets;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/ParquetRecordReaderTest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/ParquetRecordReaderTest.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/ParquetRecordReaderTest.java
index 267848e..1397bd7 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/ParquetRecordReaderTest.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/ParquetRecordReaderTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import static org.junit.Assert.assertArrayEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestFileGenerator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestFileGenerator.java b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestFileGenerator.java
index 2ff80d6..d2c95fe 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestFileGenerator.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/store/parquet/TestFileGenerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store.parquet;
import static parquet.column.Encoding.PLAIN;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/test/java/org/apache/drill/exec/util/MiniZooKeeperCluster.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/test/java/org/apache/drill/exec/util/MiniZooKeeperCluster.java b/exec/java-exec/src/test/java/org/apache/drill/exec/util/MiniZooKeeperCluster.java
index 05011ac..64a15b7 100644
--- a/exec/java-exec/src/test/java/org/apache/drill/exec/util/MiniZooKeeperCluster.java
+++ b/exec/java-exec/src/test/java/org/apache/drill/exec/util/MiniZooKeeperCluster.java
@@ -1,6 +1,4 @@
-/*
- * Copyright 2009 The Apache Software Foundation
- *
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -9,7 +7,7 @@
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/BasicStatusHandle.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/BasicStatusHandle.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/BasicStatusHandle.java
index a74e2c7..06b79fa 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/BasicStatusHandle.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/BasicStatusHandle.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import java.util.concurrent.atomic.AtomicBoolean;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/ExecRefConstants.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/ExecRefConstants.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/ExecRefConstants.java
index bb220df..447ad81 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/ExecRefConstants.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/ExecRefConstants.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
public class ExecRefConstants {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/IteratorRegistry.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/IteratorRegistry.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/IteratorRegistry.java
index 6ace788..3b73d22 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/IteratorRegistry.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/IteratorRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/ROPConverter.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/ROPConverter.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/ROPConverter.java
index fb21a7f..5e4b3e4 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/ROPConverter.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/ROPConverter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordIterator.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordIterator.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordIterator.java
index b299e3d..2460db6 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordIterator.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordIterator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordPointer.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordPointer.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordPointer.java
index 56283b2..3e70fe7 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordPointer.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/RecordPointer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.ref;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceInterpreter.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceInterpreter.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceInterpreter.java
index f90be4f..6859274 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceInterpreter.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/ReferenceInterpreter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import java.io.File;
[03/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/ScalarAggregate.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/ScalarAggregate.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/ScalarAggregate.java
deleted file mode 100644
index 0d6f4ad..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/ScalarAggregate.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.collect.ImmutableMap;
-import com.google.gson.JsonObject;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Map;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/20/12
- * Time: 4:16 PM
- * To change this template use File | Settings | File Templates.
- */
-public class ScalarAggregate extends Consumer {
- private static final Map<String, Class<? extends AggregationFunction>> aggregators = ImmutableMap.of("sum", Sum.class, "count", Count.class);
-
- private double result = 0;
- private AggregationFunction f;
- private final String sourceVariable;
-
-
- public ScalarAggregate(JsonObject spec) throws ClassNotFoundException, IllegalAccessException, InstantiationException {
- f = aggregators.get(spec.get("update").getAsString()).newInstance();
- sourceVariable = spec.get("source").getAsString();
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- Object v = t.get(sourceVariable);
- if (v instanceof Double) {
- f.update((Double) v);
- } else if (v instanceof Integer) {
- f.update((Integer) v);
- } else {
- throw new IllegalArgumentException("Wanted a number in " + sourceVariable + " but got a " + v.getClass());
- }
- }
-
- @Override
- public Object getAggregate() {
- return f.value();
- }
-
- private static abstract class AggregationFunction {
- protected double value;
-
- abstract void update(double x);
-
- protected double value() {
- return value;
- }
- }
-
- private static class Sum extends AggregationFunction {
- @Override
- void update(double x) {
- value += x;
- }
- }
-
- private static class Count extends AggregationFunction {
- @Override
- void update(double x) {
- value += 1;
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Scan.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Scan.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Scan.java
deleted file mode 100644
index 77dbc46..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Scan.java
+++ /dev/null
@@ -1,83 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.common.base.CharMatcher;
-import com.google.common.base.Charsets;
-import com.google.common.base.Splitter;
-import com.google.common.io.*;
-import com.google.gson.JsonElement;
-import com.google.gson.JsonObject;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.lang.reflect.InvocationTargetException;
-
-/**
- * Reads CSV data. Note that quotes are not handled correctly just yet.
- */
-@JsonTypeName("scan")
-public class Scan extends Consumer {
- private static Splitter onComma = Splitter.on(",").trimResults(CharMatcher.anyOf(" \"'"));
-
- private Consumer out;
- private File file;
- private String resource;
- private final InputSupplier<InputStreamReader> input;
-
- public Scan(JsonObject spec) {
- JsonElement filename = spec.get("file");
- if (filename != null) {
- file = new File(filename.getAsString());
- input = Files.newReaderSupplier(file, Charsets.UTF_8);
- } else {
- resource = spec.get("resource").getAsString();
- input = Resources.newReaderSupplier(Resources.getResource(resource), Charsets.UTF_8);
- }
- }
-
- @Override
- public void connect(Consumer out) {
- this.out = out;
- }
-
- public void start() throws IOException {
- CharStreams.readLines(input, new LineProcessor<Object>() {
- boolean first = true;
- Iterable<String> header;
-
- @Override
- public boolean processLine(String s) throws IOException {
- if (first) {
- header = onComma.split(s);
- first = false;
- } else {
- try {
- out.push(new MapTuple(header, onComma.split(s)));
- } catch (InvocationTargetException e) {
- throw new RuntimeException(e);
- }
- }
- return true;
- }
-
- @Override
- public Object getResult() {
- return null;
- }
- });
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException {
- throw new UnsupportedOperationException("Scanner can't process tuples");
- }
-
- public File getFile() {
- return file;
- }
-
- public String getResource() {
- return resource;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Sequence.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Sequence.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Sequence.java
deleted file mode 100644
index 33b43d6..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Sequence.java
+++ /dev/null
@@ -1,66 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.common.collect.Lists;
-import com.google.gson.JsonElement;
-import com.google.gson.JsonObject;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 11/15/12 Time: 5:36 PM To change this template
- * use File | Settings | File Templates.
- */
-@JsonTypeName("sequence")
-public class Sequence<R> extends Consumer {
- private List<Consumer> step = Lists.newArrayList();
- private Consumer lastStep;
- private Consumer out;
-
- public Sequence(JsonObject spec) throws InvocationTargetException, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException {
- for (JsonElement element : spec.getAsJsonArray("do")) {
- step.add(Utils.create(element.getAsJsonObject()));
- }
- lastStep = step.get(step.size() - 1);
- }
-
- @Override
- public void connect(Consumer out) {
- this.out = out;
- for (int i = 1; i < step.size(); i++) {
- step.get(i - 1).connect(step.get(i));
- }
- step.get(step.size() - 1).connect(out);
- }
-
- @Override
- public void start() throws IOException {
- for (Consumer consumer : step) {
- consumer.start();
- }
- out.start();
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- step.get(0).push(t);
- }
-
- @Override
- public void end() throws InvocationTargetException, IOException {
- for (Consumer s : step) {
- s.end();
- }
- }
-
- @Override
- public Object getAggregate() {
- return lastStep.getAggregate();
- }
-
- public List<Consumer> getDo() {
- return step;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SetValue.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SetValue.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SetValue.java
deleted file mode 100644
index 1f985c2..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SetValue.java
+++ /dev/null
@@ -1,54 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.common.base.Splitter;
-import com.google.common.collect.Iterables;
-import com.google.common.collect.Lists;
-import com.google.gson.JsonObject;
-import org.codehaus.janino.CompileException;
-import org.codehaus.janino.ExpressionEvaluator;
-import org.codehaus.janino.Parser;
-import org.codehaus.janino.Scanner;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 11/15/12 Time: 6:10 PM To change this template
- * use File | Settings | File Templates.
- */
-
-@JsonTypeName("set")
-public class SetValue extends Consumer {
- private Consumer out;
- private String target;
- private Expression<Object> expression;
-
- public SetValue(JsonObject spec) throws Scanner.ScanException, CompileException, Parser.ParseException, ClassNotFoundException {
- Splitter onComma = Splitter.on(",");
-
- String targetTypeName = spec.get("targetType").getAsString();
- Class<?> targetType;
- if (targetTypeName != null) {
- targetType = Class.forName(targetTypeName).asSubclass(Object.class);
- } else {
- targetType = double.class;
- }
-
- expression = new Expression<Object>("value", spec, targetType);
-
- target = spec.get("as").getAsString();
- }
-
- @Override
- public void connect(Consumer out) {
- this.out = out;
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- t.put(target, expression.eval(t));
- out.push(t);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SingleObjectCatcher.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SingleObjectCatcher.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SingleObjectCatcher.java
deleted file mode 100644
index a291d66..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/SingleObjectCatcher.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.apache.drill.plan.json;
-
-import java.lang.reflect.InvocationTargetException;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/16/12
- * Time: 3:56 PM
- * To change this template use File | Settings | File Templates.
- */
-public class SingleObjectCatcher extends Consumer {
- Tuple result = null;
- @Override
- public void push(Tuple t) throws InvocationTargetException {
- if (result == null) {
- result = t;
- } else {
- throw new RuntimeException("Flow produced more than one output");
- }
- }
-
- public Tuple getResult() {
- return result;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Tuple.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Tuple.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Tuple.java
deleted file mode 100644
index 171f641..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Tuple.java
+++ /dev/null
@@ -1,10 +0,0 @@
-package org.apache.drill.plan.json;
-
-import java.util.Map;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 11/15/12 Time: 5:44 PM To change this template
- * use File | Settings | File Templates.
- */
-public interface Tuple extends Map<String, Object> {
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Utils.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Utils.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Utils.java
deleted file mode 100644
index b3e8f2b..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Utils.java
+++ /dev/null
@@ -1,36 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.collect.Maps;
-import com.google.gson.JsonObject;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.Map;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 11/15/12 Time: 5:49 PM To change this template
- * use File | Settings | File Templates.
- */
-public class Utils {
- private static Map<String, Class<? extends Consumer>> builtin = Maps.newHashMap();
-
- static {
- builtin.put("sequence", Sequence.class);
- builtin.put("filter", Filter.class);
- builtin.put("set", SetValue.class);
- builtin.put("scan", Scan.class);
- builtin.put("group", GroupBy.class);
- }
-
- public static Consumer create(JsonObject spec) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException {
- String type = spec.get("type").getAsString();
- Class<? extends Consumer> tClass;
- if (type != null) {
- tClass = builtin.get(type);
- } else {
- tClass = Class.forName(spec.get("class").getAsString()).asSubclass(Consumer.class);
- }
-
- return tClass.getConstructor(JsonObject.class).newInstance(spec);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ArithmeticOp.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ArithmeticOp.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ArithmeticOp.java
deleted file mode 100644
index fb65c10..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ArithmeticOp.java
+++ /dev/null
@@ -1,161 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * Operator that works on two numbers.
- */
-public abstract class ArithmeticOp extends EvalOperator {
- public static void define() {
- Operator.defineOperator(">", GT.class);
- Operator.defineOperator("==", EQUALS.class);
- Operator.defineOperator("<", LT.class);
- Operator.defineOperator("+", PLUS.class);
- Operator.defineOperator("-", MINUS.class);
- Operator.defineOperator("*", TIMES.class);
- Operator.defineOperator("/", DIVIDE.class);
- }
-
- public EvalOperator left, right;
-
- public ArithmeticOp(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings, 2, 1);
- }
-
- @Override
- public Object eval(Object data) {
- Object x = left.eval(data);
- Object y = right.eval(data);
-
- if (x instanceof Number) {
- if (y instanceof Number) {
- return eval(((Number) x).doubleValue(), ((Number) y).doubleValue());
- } else {
- throw new InvalidData("Expected number but got %s (a %s)", y, y.getClass());
- }
- } else {
- throw new InvalidData("Expected number but got %s (a %s)", x, x.getClass());
- }
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- List<Arg> in = op.getInputs();
- left = extractOperand(in.get(0), bindings);
- right = extractOperand(in.get(1), bindings);
- }
-
- private EvalOperator extractOperand(Arg arg, Map<Integer, Operator> bindings) {
- if (arg instanceof Arg.Number) {
- return new ConstantOp(((Arg.Number) arg).doubleValue());
- } else if (arg instanceof Arg.Symbol) {
- return (EvalOperator) bindings.get(arg.asSymbol().getInt());
- } else {
- throw new IllegalArgumentException("Wanted constant or reference to another operator");
- }
- }
-
- public abstract Object eval(double x, double y);
-
- public static class GT extends ArithmeticOp {
- public GT(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x > y;
- }
- }
-
- public static class LT extends ArithmeticOp {
- public LT(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x < y;
- }
- }
-
- public static class EQUALS extends ArithmeticOp {
- public EQUALS(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x == y;
- }
- }
-
- public static class PLUS extends ArithmeticOp {
- public PLUS(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x + y;
- }
- }
-
-
- public static class MINUS extends ArithmeticOp {
- public MINUS(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x - y;
- }
- }
-
-
- public static class TIMES extends ArithmeticOp {
- public TIMES(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x * y;
- }
- }
-
-
- public static class DIVIDE extends ArithmeticOp {
- public DIVIDE(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings);
- }
-
- @Override
- public Object eval(double x, double y) {
- return x / y;
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/BatchListener.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/BatchListener.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/BatchListener.java
deleted file mode 100644
index a103ffc..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/BatchListener.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.apache.drill.plan.physical.operators;
-
-/**
- * Aggregate and Implode operators need to know when batches of records are finished and thus
- * they implement BatchListener. Note that the source of data is different from the source of
- * batch boundaries. This avoids the need for every data processor to propagate boundaries but
- * it also allows fancy structures to be constructed to do interesting things.
- */
-public interface BatchListener {
- public void endBatch(Object parent);
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Bind.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Bind.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Bind.java
deleted file mode 100644
index 4bd2b73..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Bind.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Op;
-
-import java.util.Map;
-
-/**
- * How to lookup a variable in an expression.
- */
-public class Bind extends EvalOperator {
- private Schema schema = null;
-
- public static void define() {
- Operator.defineOperator("bind", Bind.class);
- }
-
- private String name;
-
- public Bind(Op op, Map<Integer, Operator> bindings) {
- super(op, bindings, 2, 1);
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- // connect to our inputs
- name = op.getInputs().get(0).asString();
- schema = bindings.get(op.getInputs().get(1).asSymbol().getInt()).getSchema();
- }
-
- @Override
- public Object eval(Object data) {
- return schema.get(name, data);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ConstantOp.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ConstantOp.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ConstantOp.java
deleted file mode 100644
index 568ed67..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ConstantOp.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Op;
-
-import java.util.Map;
-
-/**
- * Evaluates to a constant value.
- */
-public class ConstantOp extends EvalOperator {
- private Object value;
-
- public ConstantOp(double v) {
- value = v;
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- // ignore
- }
-
- @Override
- public Object eval(Object data) {
- return value;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/DataListener.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/DataListener.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/DataListener.java
deleted file mode 100644
index 3648454..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/DataListener.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-/**
- * Describes a consumer of data.
- */
-public interface DataListener {
- public void notify(Object r);
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/EvalOperator.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/EvalOperator.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/EvalOperator.java
deleted file mode 100644
index d02cafe..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/EvalOperator.java
+++ /dev/null
@@ -1,43 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Op;
-
-import java.util.Map;
-
-/**
- * Describes a scalar expression.
- */
-public abstract class EvalOperator extends Operator {
- public EvalOperator(Op op, Map<Integer, Operator> bindings, int inputArgs, int outputArgs) {
- super(op, bindings, inputArgs, outputArgs);
- }
-
- // only for Constants
- protected EvalOperator() {
- super();
- }
-
- public abstract Object eval(Object data);
-
- @Override
- public Schema getSchema() {
- throw new UnsupportedOperationException("Can't get schema from expression");
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Explode.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Explode.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Explode.java
deleted file mode 100644
index 74bec49..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Explode.java
+++ /dev/null
@@ -1,60 +0,0 @@
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * Explode creates a secondary data flow that contains a batch of records for
- * each input record. Typically, Explode is paired with Implode which gathers
- * the results back together or with Aggregate which gathers results in a different
- * way. Cogroup, Explode, Aggregate gives a group by aggregate and
- * Explode, Filter, Implode gives sub-tree filtering.
- *
- * Explode has two outputs. One is a data source and one is a batch controller (source of batch
- * boundaries). Any downstream operator that delays emitting records should
- * listen to the batch boundaries to avoid having aggregate outputs that cross batch
- * boundaries.
- */
-public class Explode extends Operator implements DataListener {
- private String variableToExplode;
- private Schema schema;
- private Schema subSchema;
-
- public static void define() {
- Operator.defineOperator("explode", Explode.class);
- }
-
- public Explode(Op op, Map<Integer, Operator> bindings) {
- // exploded-data-stream, batch-controller := explode data-in, variable-name-to-explode
- super(op, bindings, 2, 1);
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- List<Arg> in = op.getInputs();
- Operator data = bindings.get(in.get(0).asSymbol().getInt());
- data.addDataListener(this);
- schema = data.getSchema();
-
- variableToExplode = in.get(1).asString();
- subSchema = schema.getSubSchema(variableToExplode);
- }
-
- @Override
- public void notify(Object row) {
- // for each input we get, we iterate through our exploding variable
- for (Object value : schema.getIterable(variableToExplode, row)) {
- emit(value);
- }
- finishBatch(row);
- }
-
- @Override
- public Schema getSchema() {
- return subSchema;
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Filter.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Filter.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Filter.java
deleted file mode 100644
index 423381b..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Filter.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * Selects records according to whether an expression evaluated on the records is true or non-zero.
- */
-public class Filter extends Operator implements DataListener {
-
- private Operator data;
-
- public static void define() {
- Operator.defineOperator("filter", Filter.class);
- }
-
- private EvalOperator filterExpression = null;
-
- public Filter(Op op, Map<Integer, Operator> bindings) {
- checkArity(op, 2, 1);
- List<Arg> outputs = op.getOutputs();
- if (outputs.size() != 1) {
- throw new IllegalArgumentException("filter operator should only have one output");
- }
- bindings.put(outputs.get(0).asSymbol().getInt(), this);
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- List<Arg> inputs = op.getInputs();
- if (inputs.size() != 2) {
- throw new IllegalArgumentException("filter requires two inputs, a filter-expression and a data source. Got " + inputs.size());
- }
- filterExpression = (EvalOperator) bindings.get(inputs.get(0).asSymbol().getInt());
- data = bindings.get(inputs.get(1).asSymbol().getInt());
- data.addDataListener(this);
- }
-
- @Override
- public void notify(Object data) {
- Object r = filterExpression.eval(data);
- if (r instanceof Number) {
- if (((Number) r).doubleValue() != 0) {
- emit(data);
- }
- } else if (r instanceof Boolean) {
- if ((Boolean) r) {
- emit(data);
- }
- } else {
- throw new InvalidData(String.format("Invalid data type %s wanted number or boolean", data.getClass()));
- }
- }
-
- @Override
- public Schema getSchema() {
- return data.getSchema();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Implode.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Implode.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Implode.java
deleted file mode 100644
index 15f0f5b..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Implode.java
+++ /dev/null
@@ -1,63 +0,0 @@
-package org.apache.drill.plan.physical.operators;
-
-import com.google.common.collect.Lists;
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * Aggregate records into a list that is inserted into the parent record for the batch.
- */
-public class Implode extends Operator implements DataListener, BatchListener {
- private Operator data;
- private List<Object> accumulator = Lists.newArrayList();
- private Schema schema ;
- private String accumulatorVar;
-
- public static void define() {
- Operator.defineOperator("implode", Implode.class);
- }
-
- public Implode(Op op, Map<Integer, Operator> bindings) {
- // data-out, implode-var := implode data-in, batch-master
- super(op, bindings, 2, 2);
- }
-
- @Override
- public void link(Op op, Map<Integer, Operator> bindings) {
- List<Arg> in = op.getInputs();
- data = bindings.get(in.get(0).asSymbol().getInt());
- data.addDataListener(this);
-
-// schema = data.getSchema().overlay();
- schema = new JsonSchema();
- Operator batchController = bindings.get(in.get(1).asSymbol().getInt());
- batchController.addBatchListener(this);
-
- accumulatorVar = Operator.gensym();
- }
-
- @Override
- public Object eval() {
- return accumulatorVar;
- }
-
- @Override
- public Schema getSchema() {
- throw new UnsupportedOperationException("Default operation");
- }
-
- @Override
- public void notify(Object r) {
- accumulator.add(r);
- }
-
- @Override
- public void endBatch(Object parent) {
- schema.set(accumulatorVar, parent, accumulator);
- accumulator = Lists.newArrayList();
- emit(parent);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/InvalidData.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/InvalidData.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/InvalidData.java
deleted file mode 100644
index cf66f6e..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/InvalidData.java
+++ /dev/null
@@ -1,31 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-/**
-* Thrown when data of the wrong type is encountered.
-*/
-class InvalidData extends RuntimeException {
- public InvalidData(String msg) {
- super(msg);
- }
-
- public InvalidData(String format, Object... args) {
- super(String.format(format, args));
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/JsonSchema.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/JsonSchema.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/JsonSchema.java
deleted file mode 100644
index 19b750a..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/JsonSchema.java
+++ /dev/null
@@ -1,87 +0,0 @@
-package org.apache.drill.plan.physical.operators;
-
-import com.google.common.base.Function;
-import com.google.common.base.Splitter;
-import com.google.common.collect.Iterables;
-import com.google.gson.*;
-
-import javax.annotation.Nullable;
-import java.util.Collection;
-
-/**
-* Created with IntelliJ IDEA.
-* User: tdunning
-* Date: 10/19/12
-* Time: 5:01 PM
-* To change this template use File | Settings | File Templates.
-*/
-public class JsonSchema extends Schema {
- Splitter onDot = Splitter.on(".");
-
- @Override
- public Object get(String name, Object data) {
- JsonElement r = (JsonElement) data;
- Iterable<String> bits = onDot.split(name);
- for (String bit : bits) {
- r = ((JsonObject) data).get(bit);
- }
- return cleanupJsonisms(r);
- }
-
- @Override
- public <T> Iterable<T> getIterable(String name, Object data) {
- Object r = get(name, data);
- if (r instanceof JsonArray) {
- return Iterables.transform((JsonArray) r, new Function<JsonElement, T>() {
- @Override
- public T apply(@Nullable JsonElement jsonElement) {
- return (T) cleanupJsonisms(jsonElement);
- }
- });
- } else {
- throw new IllegalArgumentException("Looked for array but value was " + r.getClass());
- }
- }
-
- @Override
- public Schema getSubSchema(String name) {
- return new JsonSchema();
- }
-
- @Override
- public Schema overlay() {
- return this;
- }
-
- @Override
- public void set(String name, Object parent, Object value) {
- if (value instanceof Collection) {
- // input is likely to have been collected by Implode
- // TODO but what if something else built this? Do we need a general serialization framework?
- JsonArray r = new JsonArray();
- for (Object v : ((Collection) value)) {
- r.add((JsonElement) v);
- }
- ((JsonObject) parent).add(name, r);
- } else if (value instanceof Number) {
- ((JsonObject) parent).add(name, new JsonPrimitive((Number) value));
- } else {
- throw new IllegalArgumentException(String.format("Can't convert a %s to JSON by magic", value.getClass()));
- }
- }
-
- private Object cleanupJsonisms(JsonElement data) {
- if (data instanceof JsonPrimitive) {
- JsonPrimitive v = (JsonPrimitive) data;
- if (v.isNumber()) {
- return v.getAsDouble();
- } else if (v.isString()) {
- return v.getAsString();
- } else {
- return v.getAsBoolean();
- }
- } else {
- return data;
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Operator.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Operator.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Operator.java
deleted file mode 100644
index 9c6c0cb..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Operator.java
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.atomic.AtomicInteger;
-
-/**
- * Implements a function for an operator on a single line of the physical plan.
- * <p/>
- * The life cycle of an operator is
- * <nl>
- * <li>The operator's constructor is defined using Operator.defineOperator</li>
- * <li>The operator is constructed via Operator.create. It is expected that
- * the operator will fill in references to it's own outputs into the DAG bindings</li>
- * <li>The operator is linked by a call to its link() method. At this point, the
- * operator can look at its arguments and resolve references to its inputs.
- * This is when it should add itself as a data listener and when it should request
- * any schema that it needs from upstream Operator's.</li>
- * <li>The operator's run() method is called. Most operators should simply return at this
- * point, but data sources should start calling emit with data records.</li>
- * <li>The operator will be notified of incoming data. It should process this data
- * and emit the result.</li>
- * </nl>
- */
-public abstract class Operator {
- private static AtomicInteger genCount = new AtomicInteger(0);
- private static final Map<String, Class<? extends Operator>> operatorMap = Maps.newHashMap();
-
- public Operator(Op op, Map<Integer, Operator> bindings, int inputArgs, int outputArgs) {
- checkArity(op, inputArgs, outputArgs);
- for (Arg arg : op.getOutputs()) {
- bindings.put(arg.asSymbol().getInt(), this);
- }
- }
-
- // only for testing and constants
- protected Operator() {
- }
-
- static {
- ArithmeticOp.define();
- Bind.define();
- Filter.define();
- ScanJson.define();
- Explode.define();
- Implode.define();
- }
-
-
- public static void defineOperator(String name, Class<? extends Operator> clazz) {
- if (operatorMap.containsKey(name)) {
- throw new RuntimeException(String.format("Duplicate operator name for %s vs %s", clazz, operatorMap.get(name)));
- }
- operatorMap.put(name, clazz);
- }
-
- public static Operator create(Op op, Map<Integer, Operator> bindings) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException {
- Class<? extends Operator> c = operatorMap.get(op.getOp());
- if (c == null) {
- throw new IllegalArgumentException(String.format("No such operator as %s", op.getOp()));
- }
-
- Constructor<? extends Operator> con = c.getConstructor(Op.class, Map.class);
- return con.newInstance(op, bindings);
- }
-
-
- public static String gensym() {
- return String.format("__sym-%d", genCount.incrementAndGet());
- }
-
- private final List<DataListener> dataOut = Lists.newArrayList();
- private List<BatchListener> batchOut = Lists.newArrayList();
-
- public void addDataListener(DataListener listener) {
- this.dataOut.add(listener);
- }
-
- public void addBatchListener(BatchListener listener) {
- this.batchOut.add(listener);
- }
-
- protected void emit(Object r) {
- for (DataListener listener : dataOut) {
- listener.notify(r);
- }
- }
-
- protected void finishBatch(Object parent) {
- for (BatchListener listener : batchOut) {
- listener.endBatch(parent);
- }
- }
-
- public double evalAsDouble() {
- throw new UnsupportedOperationException("default no can do"); //To change body of created methods use File | Settings | File Templates.
- }
-
- public Object eval() {
- return null;
- }
-
- public abstract void link(Op op, Map<Integer, Operator> bindings);
-
- public void close() {
- // do nothing by default... over-ride for clever behavior
- }
-
- public abstract Schema getSchema();
-
- protected void checkArity(Op op, int inputArgs, int outputArgs) {
- List<Arg> in = op.getInputs();
- if (in.size() != inputArgs) {
- throw new IllegalArgumentException("bind should have exactly two arguments (an expression and a data source)");
- }
-
- List<Arg> out = op.getOutputs();
- if (out.size() != outputArgs) {
- throw new IllegalArgumentException(String.format("Operator should have exactly %d outputs, not %d", outputArgs, out.size()));
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ScanJson.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ScanJson.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ScanJson.java
deleted file mode 100644
index 0b699c3..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/ScanJson.java
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import com.google.common.base.Charsets;
-import com.google.common.io.Files;
-import com.google.common.io.InputSupplier;
-import com.google.common.io.Resources;
-import com.google.gson.*;
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.io.Reader;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.Callable;
-
-/**
- * Reads JSON formatted records from a file.
- */
-public class ScanJson extends Operator implements Callable<Object> {
-
- public static void define() {
- Operator.defineOperator("scan-json", ScanJson.class);
- }
-
- private InputSupplier<InputStreamReader> input;
-
- public ScanJson(Op op, Map<Integer, Operator> bindings) {
- List<Arg> in = op.getInputs();
- if (in.size() != 1) {
- throw new IllegalArgumentException("scan-json should have exactly one argument (a file name)");
- }
- String inputName = in.get(0).asString();
- if (inputName.startsWith("resource:")) {
- input = Resources.newReaderSupplier(Resources.getResource(inputName.substring(inputName.indexOf(':') + 1)), Charsets.UTF_8);
- } else {
- input = Files.newReaderSupplier(new File(inputName), Charsets.UTF_8);
- }
-
- List<Arg> out = op.getOutputs();
- if (out.size() != 1) {
- throw new IllegalArgumentException("scan-json should have exactly one output");
- }
- bindings.put(out.get(0).asSymbol().getInt(), this);
- }
-
- public ScanJson(InputSupplier<InputStreamReader> input) throws IOException {
- this.input = input;
- }
-
- public static ScanJson create(InputSupplier<InputStreamReader> input) throws IOException {
- return new ScanJson(input);
- }
-
- @Override
- public void link(Op next, Map<Integer, Operator> bindings) {
- // nothing to look for
- }
-
- @Override
- public Object call() throws IOException {
- int count = 0;
- Reader in = input.getInput();
- JsonStreamParser jp = new JsonStreamParser(in);
- while (jp.hasNext()) {
- JsonElement r = jp.next();
- emit(r);
- count++;
- }
- in.close();
- // TODO what should the parent record be at the top-level?
- finishBatch(null);
-
- return count;
- }
-
- @Override
- public Schema getSchema() {
- return new JsonSchema();
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Schema.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Schema.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Schema.java
deleted file mode 100644
index 424c715..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/Schema.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-/**
- * Describes a schema. In this context a schema is what understands how to get data
- * into and out of a record. For JSON, the schema is pretty dumb, but for other data types it
- * could be quite clever.
- */
-public abstract class Schema {
- public abstract Object get(String name, Object data);
-
- public abstract <T> Iterable<? extends T> getIterable(String name, Object data);
-
- public abstract Schema getSubSchema(String name);
-
- public abstract Schema overlay();
-
- public abstract void set(String name, Object parent, Object value);
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/SchemaListener.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/SchemaListener.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/SchemaListener.java
deleted file mode 100644
index 719c065..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/physical/operators/SchemaListener.java
+++ /dev/null
@@ -1,25 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-/**
- * Describes an object that accepts updates on schema's.
- */
-public interface SchemaListener {
- public void notify(Schema s);
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/ParsePlanTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/ParsePlanTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/ParsePlanTest.java
deleted file mode 100644
index 7c4d6c4..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/ParsePlanTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan;
-
-import com.google.common.base.Charsets;
-import com.google.common.collect.Lists;
-import com.google.common.io.Resources;
-import org.antlr.runtime.ANTLRReaderStream;
-import org.antlr.runtime.MissingTokenException;
-import org.antlr.runtime.Token;
-import org.apache.drill.plan.ast.LogicalPlanParseException;
-import org.apache.drill.plan.ast.Plan;
-import org.apache.drill.plan.ast.PlanLexer;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.util.Iterator;
-import java.util.List;
-
-import static junit.framework.Assert.*;
-
-public class ParsePlanTest {
- @Test
- public void testParse1() throws ParsePlan.ParseException {
- Plan r = ParsePlan.parseResource("plan1.drillx");
- assertEquals("Lines", 3, r.getStatements().size());
- }
-
- @Test
- public void testParse2() throws ParsePlan.ParseException {
- Plan r = ParsePlan.parseResource("plan2.drillx");
- assertEquals("Lines", 6, r.getStatements().size());
- }
-
- @Test
- public void testParse3() throws ParsePlan.ParseException {
- Plan r = ParsePlan.parseResource("plan3.drillx");
- assertEquals("Lines", 8, r.getStatements().size());
- }
-
- @Test
- public void testParseError1() throws ParsePlan.ParseException {
- try {
- ParsePlan.parseResource("bad-plan1.drillx");
- fail("Should have thrown exception");
- } catch (ParsePlan.ValidationException e) {
- assertTrue(e.getMessage().contains("%2 used more than once"));
- assertTrue(e.getMessage().contains("Undefined reference to %3"));
- }
- }
-
- @Test
- public void testParseError2() throws ParsePlan.ParseException {
- try {
- ParsePlan.parseResource("bad-plan2.drillx");
- fail("Should have thrown exception");
- } catch (LogicalPlanParseException e) {
- assertTrue(e.getCause() instanceof MissingTokenException);
- MissingTokenException ex = ((MissingTokenException) e.getCause());
- assertEquals(1, ex.line);
- assertEquals(6, ex.charPositionInLine);
- }
- }
-
-
- @Test
- public void testLexer() throws IOException {
- List<String> ref = Lists.newArrayList(
- "%3", ",", "%4", ":=", "explode", "\"data\"", ",", "\"var-to-explode\"", "\n",
- "%5", ":=", "modify", "%4", "\n",
- "%6", ",", "%7", ":=", "flatten", "%3", ",", "%5", "\n");
-
- InputStreamReader inStream = Resources.newReaderSupplier(Resources.getResource("plan1.drillx"), Charsets.UTF_8).getInput();
- PlanLexer lex = new PlanLexer(new ANTLRReaderStream(inStream));
- Token t = lex.nextToken();
- Iterator<String> i = ref.iterator();
- while (t != null && t.getType() != -1) {
- if (t.getChannel() != 99) {
- assertEquals(i.next(), t.getText());
- }
- t = lex.nextToken();
- }
- inStream.close();
-
- }
-
- @Test
- public void testLexer2() throws IOException {
- List<String> ref = Lists.newArrayList(
- "%1", ":=", "scan-json", "\"table-1\"", "EOL",
- "EOL",
- "%2", ":=", "bind", "\"x\"", ",", "%1", "EOL",
- "EOL",
- "EOL",
- "%3", ":=", "bind", "\"y\"", ",", "%2", "EOL",
- "%4", ":=", ">", "%2", ",", "3", "EOL",
- "%5", ":=", "filter", "%4", ",", "%1", "EOL",
- "%6", ":=", "project", "%5", ",", "%2", ",", "%3", "EOL");
-
- InputStreamReader inStream = Resources.newReaderSupplier(Resources.getResource("plan2.drillx"), Charsets.UTF_8).getInput();
- PlanLexer lex = new PlanLexer(new ANTLRReaderStream(inStream));
- Token t = lex.nextToken();
- Iterator<String> i = ref.iterator();
- while (t != null && t.getType() != -1) {
- if (t.getChannel() != 99) {
- String tokenText = t.getText();
- if (t.getText().equals("\n")) {
- tokenText = "EOL";
- }
- assertEquals(i.next(), tokenText);
- }
- t = lex.nextToken();
- }
- inStream.close();
-
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/PhysicalInterpreterTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/PhysicalInterpreterTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/PhysicalInterpreterTest.java
deleted file mode 100644
index 77a9e57..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/PhysicalInterpreterTest.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan;
-
-import org.apache.drill.plan.ast.Plan;
-import org.junit.Test;
-
-public class PhysicalInterpreterTest {
- @Test
- public void testTrivialPlan() throws PhysicalInterpreter.InterpreterException, ParsePlan.ParseException {
- run("physical-1.drillx");
- }
-
- @Test
- public void testExplodeFilter() throws PhysicalInterpreter.InterpreterException, ParsePlan.ParseException {
- run("physical-2.drillx");
- }
-
- private void run(String name) throws ParsePlan.ParseException, PhysicalInterpreter.SetupException, PhysicalInterpreter.QueryException {
- Plan p = ParsePlan.parseResource(name);
- PhysicalInterpreter pi = new PhysicalInterpreter(p);
- pi.run();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ExplodeTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ExplodeTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ExplodeTest.java
deleted file mode 100644
index ba7785d..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ExplodeTest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.google.common.base.Charsets;
-import com.google.common.base.Joiner;
-import com.google.common.io.Resources;
-import com.google.gson.JsonObject;
-import com.google.gson.JsonParser;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/20/12
- * Time: 4:40 PM
- * To change this template use File | Settings | File Templates.
- */
-public class ExplodeTest {
- @Test
- public void testSum() {
-
- }
-
- @Test
- public void testJackson() throws ClassNotFoundException, InvocationTargetException, IOException, NoSuchMethodException, IllegalAccessException, InstantiationException {
- Joiner withNewlines = Joiner.on("\n");
- JsonObject spec = new JsonParser().parse(withNewlines.join(Resources.readLines(Resources.getResource("explode-flow.json"), Charsets.UTF_8))).getAsJsonObject();
- Consumer scanner = Utils.create(spec);
-
- ObjectMapper mapper = new ObjectMapper();
- //ALLOW_UNQUOTED_FIELD_NAMES
-
- System.out.printf("%s\n", mapper.writeValueAsString(scanner));
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/FilterTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/FilterTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/FilterTest.java
deleted file mode 100644
index 5598ffc..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/FilterTest.java
+++ /dev/null
@@ -1,27 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.io.Resources;
-import junit.framework.Assert;
-import org.junit.Test;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-import static junit.framework.Assert.assertEquals;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/19/12
- * Time: 5:41 PM
- * To change this template use File | Settings | File Templates.
- */
-public class FilterTest {
- @Test
- public void integerTest() throws IOException, InvocationTargetException, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException {
- List<Tuple> tuples = TestUtils.runFlow(Resources.getResource("filter-flow.json"));
- assertEquals(1, tuples.size());
- assertEquals(2, tuples.get(0).get("a"));
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ScanTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ScanTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ScanTest.java
deleted file mode 100644
index f98091e..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/ScanTest.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.apache.drill.plan.json;
-
-import org.junit.Test;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-import static junit.framework.Assert.assertEquals;
-
-public class ScanTest {
- @Test
- public void scan() throws InvocationTargetException, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, IOException {
- List<Tuple> tuples = TestUtils.runFlow("{type='scan', resource='test1.csv'}");
- Tuple x = tuples.get(0);
- assertEquals(1, (Integer) x.get("a"), 0);
- assertEquals("xyz", x.get("b"));
- assertEquals(3.1, (Double) x.get("c"), 0);
-
- x = tuples.get(1);
- assertEquals(2, (Integer) x.get("a"), 0);
- assertEquals("qrtz", x.get("b"));
- assertEquals(21, (Integer) x.get("c"), 0);
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TestUtils.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TestUtils.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TestUtils.java
deleted file mode 100644
index aca7b70..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TestUtils.java
+++ /dev/null
@@ -1,37 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.base.Charsets;
-import com.google.common.base.Joiner;
-import com.google.common.io.Resources;
-import com.google.gson.JsonObject;
-import com.google.gson.JsonParser;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-import java.net.URL;
-import java.util.List;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/19/12
- * Time: 5:44 PM
- * To change this template use File | Settings | File Templates.
- */
-public class TestUtils {
- static List<Tuple> runFlow(String json) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException, IOException {
- JsonObject spec = new JsonParser().parse(json).getAsJsonObject();
- Consumer scanner = Utils.create(spec);
- TupleCollector tc = new TupleCollector();
- scanner.connect(tc);
- scanner.start();
- scanner.end();
-
- return tc.getTuples();
- }
-
- public static List<Tuple> runFlow(URL resource) throws IOException, InvocationTargetException, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException {
- Joiner withNewlines = Joiner.on("\n");
- return runFlow(withNewlines.join(Resources.readLines(resource, Charsets.UTF_8)));
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TupleCollector.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TupleCollector.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TupleCollector.java
deleted file mode 100644
index e188e6d..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/json/TupleCollector.java
+++ /dev/null
@@ -1,26 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.collect.Lists;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-/**
-* Created with IntelliJ IDEA.
-* User: tdunning
-* Date: 11/19/12
-* Time: 5:40 PM
-* To change this template use File | Settings | File Templates.
-*/
-public class TupleCollector extends Consumer {
- private List<Tuple> tuples = Lists.newArrayList();
-
- @Override
- public void push(Tuple t) throws InvocationTargetException {
- tuples.add(t);
- }
-
- public List<Tuple> getTuples() {
- return tuples;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/java/org/apache/drill/plan/physical/operators/ScanJsonTest.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/physical/operators/ScanJsonTest.java b/sandbox/plan-parser/src/test/java/org/apache/drill/plan/physical/operators/ScanJsonTest.java
deleted file mode 100644
index 7911a45..0000000
--- a/sandbox/plan-parser/src/test/java/org/apache/drill/plan/physical/operators/ScanJsonTest.java
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan.physical.operators;
-
-import com.google.common.base.Charsets;
-import com.google.common.io.Resources;
-import org.junit.Test;
-
-import java.io.IOException;
-
-public class ScanJsonTest {
- @Test
- public void test1() throws IOException {
- ScanJson in = ScanJson.create(Resources.newReaderSupplier(Resources.getResource("data1.json"), Charsets.UTF_8));
- in.call();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/bad-plan1.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/bad-plan1.drillx b/sandbox/plan-parser/src/test/resources/bad-plan1.drillx
deleted file mode 100644
index efa98e2..0000000
--- a/sandbox/plan-parser/src/test/resources/bad-plan1.drillx
+++ /dev/null
@@ -1,3 +0,0 @@
-%1 := scan-json "table-1" # normal
-%2 := bind "x", %3 # undefined reference
-%2 := bind "y", %2 # duplicate def
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/bad-plan2.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/bad-plan2.drillx b/sandbox/plan-parser/src/test/resources/bad-plan2.drillx
deleted file mode 100644
index db49ad7..0000000
--- a/sandbox/plan-parser/src/test/resources/bad-plan2.drillx
+++ /dev/null
@@ -1 +0,0 @@
-%3 := "bind" "y", %2 # Op in quotes
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/data1.json
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/data1.json b/sandbox/plan-parser/src/test/resources/data1.json
deleted file mode 100644
index faff8fd..0000000
--- a/sandbox/plan-parser/src/test/resources/data1.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{"a":1, "b":2}
-{"a":2, "b":2}
-{"a":3, "b":2}
-{"a":4, "b":2}
-
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/data2.json
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/data2.json b/sandbox/plan-parser/src/test/resources/data2.json
deleted file mode 100644
index ba3f74d..0000000
--- a/sandbox/plan-parser/src/test/resources/data2.json
+++ /dev/null
@@ -1,2 +0,0 @@
-{"x":[{"a":1, "b":2}, {"a":2, "b":2}, {"a":3, "b":2}, {"a":4, "b":2}], "y":[{"a":4, "b":2}]}
-{"x":[{"a":5, "b":2}, {"a":4, "b":2}, {"a":3, "b":2}, {"a":2, "b":2}], "y":[{"a":5, "b":2}, {"a":4, "b":2}]}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/explode-flow.json
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/explode-flow.json b/sandbox/plan-parser/src/test/resources/explode-flow.json
deleted file mode 100644
index 74f93c2..0000000
--- a/sandbox/plan-parser/src/test/resources/explode-flow.json
+++ /dev/null
@@ -1,32 +0,0 @@
-{
- type:"sequence",
- do:[
- {
- type:"scan",
- resource:"iris.csv"
- },
- {
- type:"group",
- by:"Species",
- as:"cnt",
- do:[
- {
- type:"sequence",
- do:[
- {
- type="filter",
- vars="Sepal.Length",
- types="double",
- if="Sepal.Length > 5"
- },
- {
- type:"aggregate",
- update:"count"
- }
- ]
- }
- ]
-
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/filter-flow.json
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/filter-flow.json b/sandbox/plan-parser/src/test/resources/filter-flow.json
deleted file mode 100644
index e14669d..0000000
--- a/sandbox/plan-parser/src/test/resources/filter-flow.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- type:"sequence",
- do:[
- {
- type:"scan",
- resource:"test1.csv"
- },
- {
- type:"filter",
- vars:"a",
- types:"int",
- if:"a > 1"
- }
- ]
-}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/iris.csv
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/iris.csv b/sandbox/plan-parser/src/test/resources/iris.csv
deleted file mode 100644
index fc3f15e..0000000
--- a/sandbox/plan-parser/src/test/resources/iris.csv
+++ /dev/null
@@ -1,151 +0,0 @@
-Sepal.Length,Sepal.Width,Petal.Length,Petal.Width,Species
-5.1,3.5,1.4,0.2,setosa
-4.9,3.0,1.4,0.2,setosa
-4.7,3.2,1.3,0.2,setosa
-4.6,3.1,1.5,0.2,setosa
-5.0,3.6,1.4,0.2,setosa
-5.4,3.9,1.7,0.4,setosa
-4.6,3.4,1.4,0.3,setosa
-5.0,3.4,1.5,0.2,setosa
-4.4,2.9,1.4,0.2,setosa
-4.9,3.1,1.5,0.1,setosa
-5.4,3.7,1.5,0.2,setosa
-4.8,3.4,1.6,0.2,setosa
-4.8,3.0,1.4,0.1,setosa
-4.3,3.0,1.1,0.1,setosa
-5.8,4.0,1.2,0.2,setosa
-5.7,4.4,1.5,0.4,setosa
-5.4,3.9,1.3,0.4,setosa
-5.1,3.5,1.4,0.3,setosa
-5.7,3.8,1.7,0.3,setosa
-5.1,3.8,1.5,0.3,setosa
-5.4,3.4,1.7,0.2,setosa
-5.1,3.7,1.5,0.4,setosa
-4.6,3.6,1.0,0.2,setosa
-5.1,3.3,1.7,0.5,setosa
-4.8,3.4,1.9,0.2,setosa
-5.0,3.0,1.6,0.2,setosa
-5.0,3.4,1.6,0.4,setosa
-5.2,3.5,1.5,0.2,setosa
-5.2,3.4,1.4,0.2,setosa
-4.7,3.2,1.6,0.2,setosa
-4.8,3.1,1.6,0.2,setosa
-5.4,3.4,1.5,0.4,setosa
-5.2,4.1,1.5,0.1,setosa
-5.5,4.2,1.4,0.2,setosa
-4.9,3.1,1.5,0.2,setosa
-5.0,3.2,1.2,0.2,setosa
-5.5,3.5,1.3,0.2,setosa
-4.9,3.6,1.4,0.1,setosa
-4.4,3.0,1.3,0.2,setosa
-5.1,3.4,1.5,0.2,setosa
-5.0,3.5,1.3,0.3,setosa
-4.5,2.3,1.3,0.3,setosa
-4.4,3.2,1.3,0.2,setosa
-5.0,3.5,1.6,0.6,setosa
-5.1,3.8,1.9,0.4,setosa
-4.8,3.0,1.4,0.3,setosa
-5.1,3.8,1.6,0.2,setosa
-4.6,3.2,1.4,0.2,setosa
-5.3,3.7,1.5,0.2,setosa
-5.0,3.3,1.4,0.2,setosa
-7.0,3.2,4.7,1.4,versicolor
-6.4,3.2,4.5,1.5,versicolor
-6.9,3.1,4.9,1.5,versicolor
-5.5,2.3,4.0,1.3,versicolor
-6.5,2.8,4.6,1.5,versicolor
-5.7,2.8,4.5,1.3,versicolor
-6.3,3.3,4.7,1.6,versicolor
-4.9,2.4,3.3,1.0,versicolor
-6.6,2.9,4.6,1.3,versicolor
-5.2,2.7,3.9,1.4,versicolor
-5.0,2.0,3.5,1.0,versicolor
-5.9,3.0,4.2,1.5,versicolor
-6.0,2.2,4.0,1.0,versicolor
-6.1,2.9,4.7,1.4,versicolor
-5.6,2.9,3.6,1.3,versicolor
-6.7,3.1,4.4,1.4,versicolor
-5.6,3.0,4.5,1.5,versicolor
-5.8,2.7,4.1,1.0,versicolor
-6.2,2.2,4.5,1.5,versicolor
-5.6,2.5,3.9,1.1,versicolor
-5.9,3.2,4.8,1.8,versicolor
-6.1,2.8,4.0,1.3,versicolor
-6.3,2.5,4.9,1.5,versicolor
-6.1,2.8,4.7,1.2,versicolor
-6.4,2.9,4.3,1.3,versicolor
-6.6,3.0,4.4,1.4,versicolor
-6.8,2.8,4.8,1.4,versicolor
-6.7,3.0,5.0,1.7,versicolor
-6.0,2.9,4.5,1.5,versicolor
-5.7,2.6,3.5,1.0,versicolor
-5.5,2.4,3.8,1.1,versicolor
-5.5,2.4,3.7,1.0,versicolor
-5.8,2.7,3.9,1.2,versicolor
-6.0,2.7,5.1,1.6,versicolor
-5.4,3.0,4.5,1.5,versicolor
-6.0,3.4,4.5,1.6,versicolor
-6.7,3.1,4.7,1.5,versicolor
-6.3,2.3,4.4,1.3,versicolor
-5.6,3.0,4.1,1.3,versicolor
-5.5,2.5,4.0,1.3,versicolor
-5.5,2.6,4.4,1.2,versicolor
-6.1,3.0,4.6,1.4,versicolor
-5.8,2.6,4.0,1.2,versicolor
-5.0,2.3,3.3,1.0,versicolor
-5.6,2.7,4.2,1.3,versicolor
-5.7,3.0,4.2,1.2,versicolor
-5.7,2.9,4.2,1.3,versicolor
-6.2,2.9,4.3,1.3,versicolor
-5.1,2.5,3.0,1.1,versicolor
-5.7,2.8,4.1,1.3,versicolor
-6.3,3.3,6.0,2.5,virginica
-5.8,2.7,5.1,1.9,virginica
-7.1,3.0,5.9,2.1,virginica
-6.3,2.9,5.6,1.8,virginica
-6.5,3.0,5.8,2.2,virginica
-7.6,3.0,6.6,2.1,virginica
-4.9,2.5,4.5,1.7,virginica
-7.3,2.9,6.3,1.8,virginica
-6.7,2.5,5.8,1.8,virginica
-7.2,3.6,6.1,2.5,virginica
-6.5,3.2,5.1,2.0,virginica
-6.4,2.7,5.3,1.9,virginica
-6.8,3.0,5.5,2.1,virginica
-5.7,2.5,5.0,2.0,virginica
-5.8,2.8,5.1,2.4,virginica
-6.4,3.2,5.3,2.3,virginica
-6.5,3.0,5.5,1.8,virginica
-7.7,3.8,6.7,2.2,virginica
-7.7,2.6,6.9,2.3,virginica
-6.0,2.2,5.0,1.5,virginica
-6.9,3.2,5.7,2.3,virginica
-5.6,2.8,4.9,2.0,virginica
-7.7,2.8,6.7,2.0,virginica
-6.3,2.7,4.9,1.8,virginica
-6.7,3.3,5.7,2.1,virginica
-7.2,3.2,6.0,1.8,virginica
-6.2,2.8,4.8,1.8,virginica
-6.1,3.0,4.9,1.8,virginica
-6.4,2.8,5.6,2.1,virginica
-7.2,3.0,5.8,1.6,virginica
-7.4,2.8,6.1,1.9,virginica
-7.9,3.8,6.4,2.0,virginica
-6.4,2.8,5.6,2.2,virginica
-6.3,2.8,5.1,1.5,virginica
-6.1,2.6,5.6,1.4,virginica
-7.7,3.0,6.1,2.3,virginica
-6.3,3.4,5.6,2.4,virginica
-6.4,3.1,5.5,1.8,virginica
-6.0,3.0,4.8,1.8,virginica
-6.9,3.1,5.4,2.1,virginica
-6.7,3.1,5.6,2.4,virginica
-6.9,3.1,5.1,2.3,virginica
-5.8,2.7,5.1,1.9,virginica
-6.8,3.2,5.9,2.3,virginica
-6.7,3.3,5.7,2.5,virginica
-6.7,3.0,5.2,2.3,virginica
-6.3,2.5,5.0,1.9,virginica
-6.5,3.0,5.2,2.0,virginica
-6.2,3.4,5.4,2.3,virginica
-5.9,3.0,5.1,1.8,virginica
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/physical-1.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/physical-1.drillx b/sandbox/plan-parser/src/test/resources/physical-1.drillx
deleted file mode 100644
index 0d1707e..0000000
--- a/sandbox/plan-parser/src/test/resources/physical-1.drillx
+++ /dev/null
@@ -1,4 +0,0 @@
-%1 := scan-json "resource:data1.json"
-%2 := bind "a", %1
-%3 := < %2, 3
-%4 := filter %3, %1
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/physical-2.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/physical-2.drillx b/sandbox/plan-parser/src/test/resources/physical-2.drillx
deleted file mode 100644
index 14924c7..0000000
--- a/sandbox/plan-parser/src/test/resources/physical-2.drillx
+++ /dev/null
@@ -1,7 +0,0 @@
-# sub-tree filtering
-%1 := scan-json "resource:data2.json"
-%2 := explode %1, "x"
-%4 := bind "a", %2
-%5 := > %4, 3
-%6 := filter %5, %2
-%7,%8 := implode %6, %2
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/plan1.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/plan1.drillx b/sandbox/plan-parser/src/test/resources/plan1.drillx
deleted file mode 100644
index 2b35353..0000000
--- a/sandbox/plan-parser/src/test/resources/plan1.drillx
+++ /dev/null
@@ -1,3 +0,0 @@
-%3, %4 := explode "data", "var-to-explode"
-%5 := modify %4
-%6, %7 := flatten %3, %5
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/plan2.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/plan2.drillx b/sandbox/plan-parser/src/test/resources/plan2.drillx
deleted file mode 100644
index 49e7b5a..0000000
--- a/sandbox/plan-parser/src/test/resources/plan2.drillx
+++ /dev/null
@@ -1,9 +0,0 @@
-%1 := scan-json "table-1" # from table-1
-
-%2 := bind "x", %1 # variable x
-
-# full-line comment
-%3 := bind "y", %2 # and y
-%4 := > %2, 3 # where x > 3
-%5 := filter %4, %1 # apply the filter
-%6 := project %5, %2, %3 # select columns for final output
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/plan3.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/plan3.drillx b/sandbox/plan-parser/src/test/resources/plan3.drillx
deleted file mode 100644
index 7f3ae43..0000000
--- a/sandbox/plan-parser/src/test/resources/plan3.drillx
+++ /dev/null
@@ -1,11 +0,0 @@
-#comment taking up a full line
-
-# and then a blank line
-%1 := scan-json "table-1" # from table-1
-%2 := bind "a.x", %1 # we will sum a.x
-%3 := > %2, 3 # where x > 3
-%4 := filter %3, %1 # apply the filter
-%5 := aggregate "sum", %3, %2, %4
-%6 := as %5, "total", %4 # rename total
-%7 := bind "total", %6 # set up final select
-%9 := project %4, %6
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/plan4.drillx
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/plan4.drillx b/sandbox/plan-parser/src/test/resources/plan4.drillx
deleted file mode 100644
index b78e2fc..0000000
--- a/sandbox/plan-parser/src/test/resources/plan4.drillx
+++ /dev/null
@@ -1,13 +0,0 @@
-%1 := scan-json �table-1�
-%2 := bind �y�, %1
-%3 := bind �z�, %1
-%4,%5 := group %1, %2, %3 # group by y, z, group ref in %5
-%6 := explode %4, %5 # aggregate on group value
-%7 := bind �x�, %6 # sum(x), note where ref is bound
-%8 := aggregate �sum�, %6, %7
-%9,%10:= flatten %4, %8 # splice result back into data
-%11 := as %10, �s�, %9 # name the aggregated result
-%12 := bind �s�, %11
-%13 := bind �y�, %11
-%14 := bind �z�, %11
-%14 := project %11, %12, %13, %14 # select s,y,z
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/test/resources/test1.csv
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/test/resources/test1.csv b/sandbox/plan-parser/src/test/resources/test1.csv
deleted file mode 100644
index efe694c..0000000
--- a/sandbox/plan-parser/src/test/resources/test1.csv
+++ /dev/null
@@ -1,3 +0,0 @@
-a,b,c
-1,"xyz", 3.1
-2, 'qrtz', 21
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/query-parser/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/query-parser/pom.xml b/sandbox/query-parser/pom.xml
deleted file mode 100644
index 22d6c59..0000000
--- a/sandbox/query-parser/pom.xml
+++ /dev/null
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>query-parser</groupId>
- <artifactId>query-parser</artifactId>
- <version>0.1-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>10.0.1</version>
- </dependency>
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>3.4</version>
- </dependency>
- <dependency>
- <groupId>org.apache.commons</groupId>
- <artifactId>commons-io</artifactId>
- <version>1.3.2</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- </dependency>
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr3-maven-plugin</artifactId>
- <version>3.4</version>
-
- <executions>
- <execution>
- <id>antlr-generate</id>
- <!-- this is used for inheritance merges -->
- <phase>generate-sources</phase>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>antlr</goal>
- </goals>
- </execution>
- </executions>
-
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
[14/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Join.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Join.java b/common/src/main/java/org/apache/drill/common/logical/data/Join.java
index f97dab1..06f276b 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Join.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Join.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,7 +6,7 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/JoinCondition.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/JoinCondition.java b/common/src/main/java/org/apache/drill/common/logical/data/JoinCondition.java
index 01c332b..90e3d5b 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/JoinCondition.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/JoinCondition.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Limit.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Limit.java b/common/src/main/java/org/apache/drill/common/logical/data/Limit.java
index 1774790..93eb182 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Limit.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Limit.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperator.java b/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperator.java
index 3bed4d2..9810e75 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperator.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,7 +6,7 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java b/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java
index 970be76..29c994f 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/LogicalOperatorBase.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/NamedExpression.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/NamedExpression.java b/common/src/main/java/org/apache/drill/common/logical/data/NamedExpression.java
index 9218e5b..6d36618 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/NamedExpression.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/NamedExpression.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import org.apache.drill.common.expression.FieldReference;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Order.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Order.java b/common/src/main/java/org/apache/drill/common/logical/data/Order.java
index a9355de..1c7459f 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Order.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Order.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Project.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Project.java b/common/src/main/java/org/apache/drill/common/logical/data/Project.java
index 109d218..5c0716d 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Project.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Project.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/RunningAggregate.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/RunningAggregate.java b/common/src/main/java/org/apache/drill/common/logical/data/RunningAggregate.java
index a649e9d..13906e1 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/RunningAggregate.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/RunningAggregate.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Scan.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Scan.java b/common/src/main/java/org/apache/drill/common/logical/data/Scan.java
index d56d3f3..9c315ff 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Scan.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Scan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import org.apache.drill.common.JSONOptions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Segment.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Segment.java b/common/src/main/java/org/apache/drill/common/logical/data/Segment.java
index 8177dc3..3898944 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Segment.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Segment.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Sequence.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Sequence.java b/common/src/main/java/org/apache/drill/common/logical/data/Sequence.java
index 86337da..096d54b 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Sequence.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Sequence.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/SingleInputOperator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/SingleInputOperator.java b/common/src/main/java/org/apache/drill/common/logical/data/SingleInputOperator.java
index 0acfbef..279e13c 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/SingleInputOperator.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/SingleInputOperator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import org.apache.drill.common.logical.UnexpectedOperatorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/SinkOperator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/SinkOperator.java b/common/src/main/java/org/apache/drill/common/logical/data/SinkOperator.java
index 08ae075..df900fa 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/SinkOperator.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/SinkOperator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/SourceOperator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/SourceOperator.java b/common/src/main/java/org/apache/drill/common/logical/data/SourceOperator.java
index 2ad94a3..9af2878 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/SourceOperator.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/SourceOperator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Store.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Store.java b/common/src/main/java/org/apache/drill/common/logical/data/Store.java
index 78b5d41..bc34cc7 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Store.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Store.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Transform.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Transform.java b/common/src/main/java/org/apache/drill/common/logical/data/Transform.java
index 3cd69b6..e99b4ee 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Transform.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Transform.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/Union.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/Union.java b/common/src/main/java/org/apache/drill/common/logical/data/Union.java
index 3cb2c54..4db48f8 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/Union.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/Union.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/WindowFrame.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/WindowFrame.java b/common/src/main/java/org/apache/drill/common/logical/data/WindowFrame.java
index 4cd7967..0952406 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/WindowFrame.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/WindowFrame.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data;
import com.google.common.collect.Iterators;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/visitors/AbstractLogicalVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/visitors/AbstractLogicalVisitor.java b/common/src/main/java/org/apache/drill/common/logical/data/visitors/AbstractLogicalVisitor.java
index d8a1378..cd519c6 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/visitors/AbstractLogicalVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/visitors/AbstractLogicalVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data.visitors;
import org.apache.drill.common.logical.data.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/data/visitors/LogicalVisitor.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/data/visitors/LogicalVisitor.java b/common/src/main/java/org/apache/drill/common/logical/data/visitors/LogicalVisitor.java
index 10e6ec2..8308cc7 100644
--- a/common/src/main/java/org/apache/drill/common/logical/data/visitors/LogicalVisitor.java
+++ b/common/src/main/java/org/apache/drill/common/logical/data/visitors/LogicalVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.data.visitors;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/defs/OrderDef.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/defs/OrderDef.java b/common/src/main/java/org/apache/drill/common/logical/defs/OrderDef.java
index b0aa61d..d630353 100644
--- a/common/src/main/java/org/apache/drill/common/logical/defs/OrderDef.java
+++ b/common/src/main/java/org/apache/drill/common/logical/defs/OrderDef.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.defs;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/logical/defs/PartitionDef.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/logical/defs/PartitionDef.java b/common/src/main/java/org/apache/drill/common/logical/defs/PartitionDef.java
index 12047d5..d22ed5c 100644
--- a/common/src/main/java/org/apache/drill/common/logical/defs/PartitionDef.java
+++ b/common/src/main/java/org/apache/drill/common/logical/defs/PartitionDef.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.logical.defs;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/types/Types.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/types/Types.java b/common/src/main/java/org/apache/drill/common/types/Types.java
index ad7f771..efb7bf4 100644
--- a/common/src/main/java/org/apache/drill/common/types/Types.java
+++ b/common/src/main/java/org/apache/drill/common/types/Types.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.types;
import org.apache.drill.common.types.TypeProtos.DataMode;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/util/AbstractDynamicBean.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/util/AbstractDynamicBean.java b/common/src/main/java/org/apache/drill/common/util/AbstractDynamicBean.java
index 5871289..0af8a90 100644
--- a/common/src/main/java/org/apache/drill/common/util/AbstractDynamicBean.java
+++ b/common/src/main/java/org/apache/drill/common/util/AbstractDynamicBean.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.util;
import java.util.HashMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/util/FileUtils.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/util/FileUtils.java b/common/src/main/java/org/apache/drill/common/util/FileUtils.java
index 455cb62..7072058 100644
--- a/common/src/main/java/org/apache/drill/common/util/FileUtils.java
+++ b/common/src/main/java/org/apache/drill/common/util/FileUtils.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.util;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/util/Hook.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/util/Hook.java b/common/src/main/java/org/apache/drill/common/util/Hook.java
index 2629e4d..41e468e 100644
--- a/common/src/main/java/org/apache/drill/common/util/Hook.java
+++ b/common/src/main/java/org/apache/drill/common/util/Hook.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.util;
import com.google.common.base.Function;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/util/PathScanner.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/util/PathScanner.java b/common/src/main/java/org/apache/drill/common/util/PathScanner.java
index 866cc2c..21aaf48 100644
--- a/common/src/main/java/org/apache/drill/common/util/PathScanner.java
+++ b/common/src/main/java/org/apache/drill/common/util/PathScanner.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.util;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/test/java/org/apache/drill/common/expression/parser/TreeTest.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/drill/common/expression/parser/TreeTest.java b/common/src/test/java/org/apache/drill/common/expression/parser/TreeTest.java
index 1cab357..6833b69 100644
--- a/common/src/test/java/org/apache/drill/common/expression/parser/TreeTest.java
+++ b/common/src/test/java/org/apache/drill/common/expression/parser/TreeTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.common.expression.parser;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/drill/storage/CheckStorageConfig.java b/common/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
index 53fcb9e..5bcdc8a 100644
--- a/common/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
+++ b/common/src/test/java/org/apache/drill/storage/CheckStorageConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.storage;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/test/java/org/apache/drill/storage/Simple.java
----------------------------------------------------------------------
diff --git a/common/src/test/java/org/apache/drill/storage/Simple.java b/common/src/test/java/org/apache/drill/storage/Simple.java
index 4748cc1..b58c451 100644
--- a/common/src/test/java/org/apache/drill/storage/Simple.java
+++ b/common/src/test/java/org/apache/drill/storage/Simple.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.storage;
import org.apache.drill.common.config.DrillConfig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
index 0288071..54b671b 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
@@ -1,12 +1,13 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
@@ -14,7 +15,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.drill.synth;
import com.google.common.base.Preconditions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
index 38ce01c..a030501 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import org.apache.mahout.math.random.Sampler;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
index 64bc8c7..d15b53d 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import java.net.InetAddress;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
index 1a46e52..bf88852 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
index 2641dd5..e95b9a7 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
index 85b9f54..9ddd61b 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import org.apache.mahout.math.random.Sampler;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
index 3c85c1f..194a666 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
index f9a4d47..0167308 100644
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
+++ b/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import com.google.common.base.Charsets;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
index 0fd9bc6..262bc1d 100644
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
+++ b/contrib/synth-log/src/test/java/org/apache/drill/synth/LogGeneratorTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
index 1bf089d..b983eb2 100644
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
+++ b/contrib/synth-log/src/test/java/org/apache/drill/synth/TermGeneratorTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import com.google.common.base.Function;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java b/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
index f085f94..0bfdf06 100644
--- a/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
+++ b/contrib/synth-log/src/test/java/org/apache/drill/synth/WordGeneratorTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.synth;
import org.junit.Test;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/distribution/src/resources/drill-env.sh
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drill-env.sh b/distribution/src/resources/drill-env.sh
index 8bfb66b..02a7022 100644
--- a/distribution/src/resources/drill-env.sh
+++ b/distribution/src/resources/drill-env.sh
@@ -1,2 +1,16 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
DRILL_MAX_DIRECT_MEMORY="8G"
export DRILL_JAVA_OPTS="-XX:MaxDirectMemorySize=$DRILL_MAX_DIRECT_MEMORY"
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/distribution/src/resources/drill-override.conf
----------------------------------------------------------------------
diff --git a/distribution/src/resources/drill-override.conf b/distribution/src/resources/drill-override.conf
index 30305af..fb1b627 100644
--- a/distribution/src/resources/drill-override.conf
+++ b/distribution/src/resources/drill-override.conf
@@ -1,3 +1,18 @@
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// This file tells Drill to consider this module when class path scanning.
// This file can also include any supplementary configuration information.
// This file is in HOCON format, see https://github.com/typesafehub/config/blob/master/HOCON.md for more information.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/distribution/src/resources/runbit
----------------------------------------------------------------------
diff --git a/distribution/src/resources/runbit b/distribution/src/resources/runbit
index 8fcb138..85daf87 100755
--- a/distribution/src/resources/runbit
+++ b/distribution/src/resources/runbit
@@ -1,5 +1,20 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
if [ -z $JAVA_HOME ]
then
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/distribution/src/resources/sqlline
----------------------------------------------------------------------
diff --git a/distribution/src/resources/sqlline b/distribution/src/resources/sqlline
index 3915929..c815e8b 100755
--- a/distribution/src/resources/sqlline
+++ b/distribution/src/resources/sqlline
@@ -1,5 +1,20 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
ARGS=();
while [ $# -gt 0 ]
do
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/distribution/src/resources/submit_plan
----------------------------------------------------------------------
diff --git a/distribution/src/resources/submit_plan b/distribution/src/resources/submit_plan
index f5d2bfd..fee1820 100755
--- a/distribution/src/resources/submit_plan
+++ b/distribution/src/resources/submit_plan
@@ -1,5 +1,20 @@
#!/bin/bash
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
ARGS=();
while [ $# -gt 0 ]
do
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PoolArenaL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PoolArenaL.java b/exec/bufferl/src/main/java/io/netty/buffer/PoolArenaL.java
index 12fd1ae..cd9ec3f 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PoolArenaL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PoolArenaL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import io.netty.util.internal.PlatformDependent;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkL.java b/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkL.java
index 8e8f32b..91a13a9 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
final class PoolChunkL<T> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkListL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkListL.java b/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkListL.java
index 4e0fb88..cfa6fc6 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkListL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PoolChunkListL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import io.netty.util.internal.StringUtil;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PoolSubpageL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PoolSubpageL.java b/exec/bufferl/src/main/java/io/netty/buffer/PoolSubpageL.java
index 96c3efe..2956dd6 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PoolSubpageL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PoolSubpageL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
final class PoolSubpageL<T> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PoolThreadCacheL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PoolThreadCacheL.java b/exec/bufferl/src/main/java/io/netty/buffer/PoolThreadCacheL.java
index 9973911..8045db3 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PoolThreadCacheL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PoolThreadCacheL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import java.nio.ByteBuffer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java b/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java
index a05b0d1..f3b3afb 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufAllocatorL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import io.netty.buffer.AbstractByteBufAllocator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufL.java b/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufL.java
index ded7c62..595cbc9 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PooledByteBufL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2012 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import io.netty.buffer.AbstractReferenceCountedByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PooledHeapBufferL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PooledHeapBufferL.java b/exec/bufferl/src/main/java/io/netty/buffer/PooledHeapBufferL.java
index 70b517c..be7c13b 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PooledHeapBufferL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PooledHeapBufferL.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package io.netty.buffer;
/*
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/bufferl/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBufL.java
----------------------------------------------------------------------
diff --git a/exec/bufferl/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBufL.java b/exec/bufferl/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBufL.java
index 99daf62..e5e1d20 100644
--- a/exec/bufferl/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBufL.java
+++ b/exec/bufferl/src/main/java/io/netty/buffer/PooledUnsafeDirectByteBufL.java
@@ -1,19 +1,20 @@
-/*
- * Copyright 2013 The Netty Project
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
*
- * The Netty Project licenses this file to you under the Apache License,
- * version 2.0 (the "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at:
- *
- * http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
- * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
- * License for the specific language governing permissions and limitations
- * under the License.
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
*/
-
package io.netty.buffer;
import io.netty.buffer.ByteBuf;
[07/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockSubScanPOP.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockSubScanPOP.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockSubScanPOP.java
index e128c74..800c7c5 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockSubScanPOP.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockSubScanPOP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BitReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BitReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BitReader.java
index 8727341..a3f9503 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BitReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/BitReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.BaseDataValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ColumnReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ColumnReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ColumnReader.java
index e026fa7..0277d12 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ColumnReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ColumnReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FixedByteAlignedReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FixedByteAlignedReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FixedByteAlignedReader.java
index 355405b..7208cf7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FixedByteAlignedReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/FixedByteAlignedReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.BaseDataValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableBitReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableBitReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableBitReader.java
index 8a9565c..7da45cc 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableBitReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableBitReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.BaseDataValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableColumnReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableColumnReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableColumnReader.java
index e5e49b6..596108c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableColumnReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableColumnReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.BaseValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableFixedByteAlignedReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableFixedByteAlignedReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableFixedByteAlignedReader.java
index 3d4a29d..094e955 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableFixedByteAlignedReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/NullableFixedByteAlignedReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.BaseDataValueVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
index dbc2206..39d636d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/PageReadStatus.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
index df32ee5..bbfbc73 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java
index b6b3d41..fc3ba8c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRecordReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import static com.google.common.base.Preconditions.checkArgument;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRowGroupScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRowGroupScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRowGroupScan.java
index 7cefcf4..9a94ec2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRowGroupScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetRowGroupScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java
index d90e532..f73ee84 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetScanBatchCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetSchemaProvider.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetSchemaProvider.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetSchemaProvider.java
index 74bebab..209961d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetSchemaProvider.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetSchemaProvider.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store.parquet;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngine.java
index e6e2f03..e04d3e9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import java.io.File;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngineConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngineConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngineConfig.java
index 494269e..f2d6124 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngineConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetStorageEngineConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import java.util.HashMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/VarLenBinaryReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/VarLenBinaryReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/VarLenBinaryReader.java
index 3286314..276a4df 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/VarLenBinaryReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/VarLenBinaryReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.parquet;
import org.apache.drill.exec.vector.NullableVarBinaryVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/util/AtomicState.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/util/AtomicState.java b/exec/java-exec/src/main/java/org/apache/drill/exec/util/AtomicState.java
index d2e8b8f..f6653bc 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/util/AtomicState.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/util/AtomicState.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.util;
import java.util.concurrent.atomic.AtomicInteger;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/AllocationHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/AllocationHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/AllocationHelper.java
index 5007dbd..e9e54f0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/AllocationHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/AllocationHelper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
public class AllocationHelper {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseDataValueVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseDataValueVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseDataValueVector.java
index b82b14e..ddddab1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseDataValueVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseDataValueVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseValueVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseValueVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseValueVector.java
index c6515d6..7cc1adf 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseValueVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BaseValueVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import org.apache.drill.common.expression.FieldReference;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BitVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BitVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BitVector.java
index d16b998..aa2826f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BitVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/BitVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/FixedWidthVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/FixedWidthVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/FixedWidthVector.java
index e5d7a30..d085a0b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/FixedWidthVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/FixedWidthVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/NullableVectorDefinitionSetter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/NullableVectorDefinitionSetter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/NullableVectorDefinitionSetter.java
index cdccf4e..c418751 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/NullableVectorDefinitionSetter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/NullableVectorDefinitionSetter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.vector;
public interface NullableVectorDefinitionSetter {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedFixedWidthVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedFixedWidthVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedFixedWidthVector.java
index 35261d7..9b0a6cd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedFixedWidthVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedFixedWidthVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedMutator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedMutator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedMutator.java
index 3e81d75..8e097e4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedMutator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedMutator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.vector;
public interface RepeatedMutator extends ValueVector.Mutator {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedVariableWidthVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedVariableWidthVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedVariableWidthVector.java
index 4f22481..556c9a9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedVariableWidthVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/RepeatedVariableWidthVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/SerializableVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/SerializableVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/SerializableVector.java
index d43c38e..62c8a18 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/SerializableVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/SerializableVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueHolderHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueHolderHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueHolderHelper.java
index f81be83..077c693 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueHolderHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueHolderHelper.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.UnpooledByteBufAllocator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueVector.java
index 7d86067..4e5364a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/ValueVector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/VariableWidthVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/VariableWidthVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/VariableWidthVector.java
index 86c7f0b..2b07750 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/VariableWidthVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/VariableWidthVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/FixedVectorAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/FixedVectorAllocator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/FixedVectorAllocator.java
index 322604a..501012f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/FixedVectorAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/FixedVectorAllocator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector.allocator;
import org.apache.drill.exec.vector.FixedWidthVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableEstimatedVector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableEstimatedVector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableEstimatedVector.java
index c793eb5..51c2a73 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableEstimatedVector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableEstimatedVector.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector.allocator;
import org.apache.drill.exec.vector.VariableWidthVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableVectorAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableVectorAllocator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableVectorAllocator.java
index 5276db9..ae5d4de 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableVectorAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VariableVectorAllocator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector.allocator;
import org.apache.drill.exec.vector.VariableWidthVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VectorAllocator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VectorAllocator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VectorAllocator.java
index 3b5187b..fcd09cd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VectorAllocator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/vector/allocator/VectorAllocator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.vector.allocator;
import org.apache.drill.exec.vector.FixedWidthVector;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/AbstractFragmentRunnerListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/AbstractFragmentRunnerListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/AbstractFragmentRunnerListener.java
index 2c86406..58b6d08 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/AbstractFragmentRunnerListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/AbstractFragmentRunnerListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import org.apache.drill.exec.ops.FragmentContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/CancelableQuery.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/CancelableQuery.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/CancelableQuery.java
index 3c7ef04..5b11943 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/CancelableQuery.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/CancelableQuery.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
public interface CancelableQuery {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/EndpointListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/EndpointListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/EndpointListener.java
index 9a72845..6cec7b2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/EndpointListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/EndpointListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import org.apache.drill.exec.proto.CoordinationProtos.DrillbitEndpoint;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunner.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunner.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunner.java
index 8446be1..5ab0a82 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunner.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunner.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import java.util.concurrent.atomic.AtomicInteger;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunnerListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunnerListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunnerListener.java
index 71742ed..9188735 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunnerListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/FragmentRunnerListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import org.apache.drill.exec.proto.ExecProtos.FragmentHandle;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/QueryWorkUnit.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/QueryWorkUnit.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/QueryWorkUnit.java
index 243d677..f001012 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/QueryWorkUnit.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/QueryWorkUnit.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/RecordOutputStream.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RecordOutputStream.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RecordOutputStream.java
index abcb312..25d1786 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RecordOutputStream.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RecordOutputStream.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
public class RecordOutputStream {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/RemoteFragmentRunnerListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RemoteFragmentRunnerListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RemoteFragmentRunnerListener.java
index f7d4669..da81399 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RemoteFragmentRunnerListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RemoteFragmentRunnerListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import org.apache.drill.exec.ops.FragmentContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/ResourceRequest.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/ResourceRequest.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/ResourceRequest.java
index 2e1296e..1e9ea5e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/ResourceRequest.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/ResourceRequest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
public class ResourceRequest {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/RootNodeDriver.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RootNodeDriver.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RootNodeDriver.java
index 12da7ba..fee3d88 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/RootNodeDriver.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/RootNodeDriver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
public interface RootNodeDriver {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java
index bbd9df7..3ddd2ac 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/StatusProvider.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import org.apache.drill.exec.proto.ExecProtos.FragmentStatus;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java
index de8d31c..ab9c16b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/WorkManager.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/AbstractFragmentCollector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/AbstractFragmentCollector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/AbstractFragmentCollector.java
index 9e420c1..d58de2f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/AbstractFragmentCollector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/AbstractFragmentCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BatchCollector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BatchCollector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BatchCollector.java
index 89a889c..236b239 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BatchCollector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BatchCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandler.java
index 97064e3..1168659 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandlerImpl.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandlerImpl.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandlerImpl.java
index 8cba493..5639851 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandlerImpl.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/BitComHandlerImpl.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import static org.apache.drill.exec.rpc.RpcBus.get;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/IncomingBuffers.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/IncomingBuffers.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/IncomingBuffers.java
index 7f14069..c9e5608 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/IncomingBuffers.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/IncomingBuffers.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/MergingCollector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/MergingCollector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/MergingCollector.java
index 93868a7..670347c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/MergingCollector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/MergingCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import java.util.concurrent.atomic.AtomicInteger;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/PartitionedCollector.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/PartitionedCollector.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/PartitionedCollector.java
index 25b5884..af12778 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/PartitionedCollector.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/PartitionedCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import java.util.concurrent.atomic.AtomicInteger;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/RawBatchBuffer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/RawBatchBuffer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/RawBatchBuffer.java
index 0f10e26..82ed1ca 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/RawBatchBuffer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/RawBatchBuffer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import org.apache.drill.exec.record.RawFragmentBatch;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/UnlimitedRawBatchBuffer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/UnlimitedRawBatchBuffer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/UnlimitedRawBatchBuffer.java
index faff6c7..43870da 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/UnlimitedRawBatchBuffer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/batch/UnlimitedRawBatchBuffer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.batch;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/ErrorHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/ErrorHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/ErrorHelper.java
index 72c5f34..26ecc3b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/ErrorHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/ErrorHelper.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.foreman;
import java.util.UUID;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
index 26f0192..5e3302e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/Foreman.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.foreman;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/FragmentStatusListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/FragmentStatusListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/FragmentStatusListener.java
index d906ba2..2fbb708 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/FragmentStatusListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/FragmentStatusListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.foreman;
import org.apache.drill.exec.proto.ExecProtos.FragmentStatus;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/RunningFragmentManager.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/RunningFragmentManager.java b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/RunningFragmentManager.java
index 9d9aca6..588316b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/RunningFragmentManager.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/work/foreman/RunningFragmentManager.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.work.foreman;
import io.netty.buffer.ByteBuf;
[08/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java
index d4665a8..049418c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitTunnel.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitTunnel.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitTunnel.java
index 83b7959..4ce826c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitTunnel.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitTunnel.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import org.apache.drill.exec.ops.FragmentContext;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ConnectionManagerRegistry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ConnectionManagerRegistry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ConnectionManagerRegistry.java
index 8afbc33..af8fd9c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ConnectionManagerRegistry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ConnectionManagerRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.channel.Channel;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/FutureBitCommand.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/FutureBitCommand.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/FutureBitCommand.java
index 7914fc2..f6c2660 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/FutureBitCommand.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/FutureBitCommand.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListenerPool.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListenerPool.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListenerPool.java
index 84dba85..1f85625 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListenerPool.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListenerPool.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import java.util.concurrent.ConcurrentHashMap;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListeningBitCommand.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListeningBitCommand.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListeningBitCommand.java
index b322105..fa036b6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListeningBitCommand.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/ListeningBitCommand.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/SendProgress.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/SendProgress.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/SendProgress.java
index 8ede9e6..b26adb1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/SendProgress.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/SendProgress.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.bit;
public class SendProgress {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultBatch.java
index c3aad22..7cfbbb8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java
index 50f8c5a..e1e1930 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java
index 40b8edc..392a168 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserResultsListener.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserResultsListener.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserResultsListener.java
index b1dbfe8..f077151 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserResultsListener.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserResultsListener.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import java.util.concurrent.Future;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserRpcConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserRpcConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserRpcConfig.java
index 893e432..111afe4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserRpcConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserRpcConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import org.apache.drill.exec.proto.GeneralRPCProtos.Ack;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java
index 908af61..b973be9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.rpc.user;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java
index e71d381..4ff1256 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/BackedRecord.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
public class BackedRecord implements Record {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DataRecord.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DataRecord.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DataRecord.java
index 41738bb..6855e72 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DataRecord.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DataRecord.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import com.google.common.base.Preconditions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DiffSchema.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DiffSchema.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DiffSchema.java
index 81a396e..dbc4fd6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DiffSchema.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/DiffSchema.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Field.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Field.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Field.java
index 434f85b..0db3221 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Field.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Field.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import org.apache.drill.common.expression.ExpressionPosition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/IdGenerator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/IdGenerator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/IdGenerator.java
index d5de4ab..793c452 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/IdGenerator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/IdGenerator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
public interface IdGenerator<T> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ListSchema.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ListSchema.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ListSchema.java
index 77f1f37..b2f1c45 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ListSchema.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ListSchema.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import static com.google.common.base.Preconditions.checkArgument;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/NamedField.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/NamedField.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/NamedField.java
index 556628c..c207d39 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/NamedField.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/NamedField.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import org.apache.drill.common.types.TypeProtos.MajorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ObjectSchema.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ObjectSchema.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ObjectSchema.java
index 9cc30f6..13f0dc1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ObjectSchema.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/ObjectSchema.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import com.google.common.base.Predicate;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/OrderedField.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/OrderedField.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/OrderedField.java
index eec1e4b..4df547e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/OrderedField.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/OrderedField.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import org.apache.drill.common.types.TypeProtos.MajorType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Record.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Record.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Record.java
index 16e83dc..096ef4c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Record.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/Record.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
import org.apache.drill.common.expression.PathSegment;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/RecordSchema.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/RecordSchema.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/RecordSchema.java
index db1f0ed..b0fc4ca 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/RecordSchema.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/RecordSchema.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
public interface RecordSchema {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/SchemaIdGenerator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/SchemaIdGenerator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/SchemaIdGenerator.java
index 27ed2d8..e9f0944 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/SchemaIdGenerator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/SchemaIdGenerator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema;
public class SchemaIdGenerator implements IdGenerator<Integer> {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/schema/json/jackson/JacksonHelper.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/json/jackson/JacksonHelper.java b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/json/jackson/JacksonHelper.java
index 22167b1..51f273f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/schema/json/jackson/JacksonHelper.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/schema/json/jackson/JacksonHelper.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.schema.json.jackson;
import com.fasterxml.jackson.core.JsonParser;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java
index 5ca90a7..1b10ef0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/BootStrapContext.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import io.netty.channel.nio.NioEventLoopGroup;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
index 7d745e1..052f415 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/Drillbit.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/server/DrillbitContext.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/DrillbitContext.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/DrillbitContext.java
index a937ed7..22ef072 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/DrillbitContext.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/DrillbitContext.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import io.netty.channel.nio.NioEventLoopGroup;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/server/RemoteServiceSet.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/RemoteServiceSet.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/RemoteServiceSet.java
index 199768f..c0b82bd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/RemoteServiceSet.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/RemoteServiceSet.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import java.io.Closeable;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/server/StartupOptions.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/server/StartupOptions.java b/exec/java-exec/src/main/java/org/apache/drill/exec/server/StartupOptions.java
index 66bbad8..df0ee05 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/server/StartupOptions.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/server/StartupOptions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.server;
import java.util.ArrayList;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java
index bb1f2e1..bc0d171 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/service/ServiceEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.service;
import io.netty.channel.nio.NioEventLoopGroup;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStorageEngine.java
index d854789..77fad2a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AbstractStorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/AffinityCalculator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AffinityCalculator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AffinityCalculator.java
index 6210059..2fffab7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/AffinityCalculator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/AffinityCalculator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/BatchExceededException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/BatchExceededException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/BatchExceededException.java
index d47caf7..8f4b714 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/BatchExceededException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/BatchExceededException.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java
index 85bf4f8..5ca575b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/ClassPathFileSystem.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/DistributedStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/DistributedStorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/DistributedStorageEngine.java
index 6283692..c0731f9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/DistributedStorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/DistributedStorageEngine.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
public interface DistributedStorageEngine {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/QueryOptimizerRule.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/QueryOptimizerRule.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/QueryOptimizerRule.java
index 0536206..ec6465e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/QueryOptimizerRule.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/QueryOptimizerRule.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
public interface QueryOptimizerRule {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordReader.java
index f0d2daf..1022016 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordRecorder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordRecorder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordRecorder.java
index c5fcc42..17dbdb1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordRecorder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/RecordRecorder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/ResourceInputStream.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/ResourceInputStream.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/ResourceInputStream.java
index 6d83cf9..fb58c3d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/ResourceInputStream.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/ResourceInputStream.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
import java.io.ByteArrayInputStream;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProvider.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProvider.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProvider.java
index e7d8044..7611461 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProvider.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProvider.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store;
public interface SchemaProvider {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProviderRegistry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProviderRegistry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProviderRegistry.java
index 4e96dd8..3ae6943 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProviderRegistry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/SchemaProviderRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import java.lang.reflect.Constructor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngine.java
index 107d1ae..00574e6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngineRegistry.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngineRegistry.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngineRegistry.java
index 810bbc9..bd4efcd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngineRegistry.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/StorageEngineRegistry.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store;
import java.lang.reflect.Constructor;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java
index 828ae17..2c5ef42 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/VectorHolder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.store;
import org.apache.drill.exec.vector.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONGroupScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONGroupScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONGroupScan.java
index 95716bb..8988f44 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONGroupScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONGroupScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.store.json;
import static com.google.common.base.Preconditions.checkArgument;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java
index df44fe0..49aea22 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONRecordReader.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store.json;
import static com.fasterxml.jackson.core.JsonToken.END_ARRAY;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONScanBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONScanBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONScanBatchCreator.java
index d5291b4..a4c00cc 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONScanBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONScanBatchCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.store.json;
import com.google.common.base.Preconditions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngine.java
index f5370ca..bd3bca5 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.json;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngineConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngineConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngineConfig.java
index 7d4f7f4..359e7ed 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngineConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONStorageEngineConfig.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store.json;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONSubScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONSubScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONSubScan.java
index 602e543..a04f906 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONSubScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JSONSubScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,8 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
-
+ */
package org.apache.drill.exec.store.json;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JsonSchemaProvider.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JsonSchemaProvider.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JsonSchemaProvider.java
index e7f027e..66a4542 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JsonSchemaProvider.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/json/JsonSchemaProvider.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.store.json;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockGroupScanPOP.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockGroupScanPOP.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockGroupScanPOP.java
index 8febb06..cb9cbf6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockGroupScanPOP.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockGroupScanPOP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockRecordReader.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockRecordReader.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockRecordReader.java
index ca45755..23eb956 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockRecordReader.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockRecordReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import org.apache.drill.common.exceptions.ExecutionSetupException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockScanBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockScanBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockScanBatchCreator.java
index 5c91e1c..5c51a5a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockScanBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockScanBatchCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngine.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngine.java
index 5f45a6d..b58ab50 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngine.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngineConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngineConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngineConfig.java
index 343a563..786c0ec 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngineConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorageEngineConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import org.apache.drill.common.logical.StorageEngineConfigBase;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorePOP.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorePOP.java b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorePOP.java
index 4dbcd63..f616bca 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorePOP.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/MockStorePOP.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.store.mock;
import java.util.Collections;
[16/29] git commit: DRILL-221 Add license header to all files
Posted by ja...@apache.org.
DRILL-221 Add license header to all files
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/479ddad7
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/479ddad7
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/479ddad7
Branch: refs/heads/master
Commit: 479ddad71725bfbf40e025c116b6fe0c775225bc
Parents: 611418d
Author: Steven Phillips <sp...@maprtech.com>
Authored: Mon Sep 9 17:36:48 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 14:31:38 2013 -0700
----------------------------------------------------------------------
.../com/google/protobuf/WireFormatProxy.java | 17 +
.../org/apache/drill/common/JSONOptions.java | 8 +-
.../org/apache/drill/common/PlanProperties.java | 8 +-
.../drill/common/config/CommonConstants.java | 8 +-
.../drill/common/config/ConfigProvider.java | 8 +-
.../apache/drill/common/config/DrillConfig.java | 8 +-
.../drill/common/config/NestedConfig.java | 8 +-
.../org/apache/drill/common/defs/OrderDef.java | 8 +-
.../apache/drill/common/defs/PartitionDef.java | 8 +-
.../exceptions/DrillConfigurationException.java | 8 +-
.../drill/common/exceptions/DrillError.java | 8 +-
.../drill/common/exceptions/DrillException.java | 8 +-
.../common/exceptions/DrillIOException.java | 8 +-
.../exceptions/DrillRuntimeException.java | 8 +-
.../exceptions/ExecutionSetupException.java | 8 +-
.../exceptions/ExpressionParsingException.java | 8 +-
.../LogicalOperatorValidationException.java | 8 +-
.../exceptions/LogicalPlanParsingException.java | 8 +-
.../PhysicalOperatorSetupException.java | 8 +-
.../org/apache/drill/common/expression/Arg.java | 8 +-
.../common/expression/ArgumentValidator.java | 8 +-
.../common/expression/ArgumentValidators.java | 8 +-
.../expression/BasicArgumentValidator.java | 8 +-
.../drill/common/expression/CallProvider.java | 8 +-
.../drill/common/expression/ErrorCollector.java | 4 +-
.../common/expression/ErrorCollectorImpl.java | 17 +
.../common/expression/ExpressionFunction.java | 8 +-
.../common/expression/ExpressionPosition.java | 17 +
.../expression/ExpressionStringBuilder.java | 17 +
.../expression/ExpressionValidationError.java | 8 +-
.../ExpressionValidationException.java | 8 +-
.../common/expression/ExpressionValidator.java | 17 +
.../drill/common/expression/FieldReference.java | 4 +-
.../drill/common/expression/FunctionCall.java | 8 +-
.../common/expression/FunctionDefinition.java | 8 +-
.../common/expression/FunctionInstance.java | 8 +-
.../drill/common/expression/FunctionName.java | 8 +-
.../common/expression/FunctionRegistry.java | 8 +-
.../drill/common/expression/IfExpression.java | 8 +-
.../common/expression/LogicalExpression.java | 4 +-
.../expression/LogicalExpressionBase.java | 8 +-
.../drill/common/expression/NoArgValidator.java | 17 +
.../common/expression/OutputTypeDeterminer.java | 8 +-
.../drill/common/expression/PathSegment.java | 8 +-
.../drill/common/expression/SchemaPath.java | 8 +-
.../common/expression/ValidationError.java | 8 +-
.../common/expression/ValueExpressions.java | 8 +-
.../expression/aggregate/BasicAggregates.java | 8 +-
.../expression/fn/AggregationFunctions.java | 8 +-
.../common/expression/fn/BooleanFunctions.java | 8 +-
.../common/expression/fn/MathFunctions.java | 8 +-
.../common/expression/fn/StringFunctions.java | 8 +-
.../common/expression/fn/TypeFunctions.java | 8 +-
.../common/expression/fn/UnaryFunctions.java | 8 +-
.../drill/common/expression/types/AtomType.java | 8 +-
.../drill/common/expression/types/DataType.java | 8 +-
.../expression/types/DataTypeFactory.java | 8 +-
.../common/expression/types/LateBindType.java | 8 +-
.../visitors/AbstractExprVisitor.java | 17 +
.../expression/visitors/AggregateChecker.java | 8 +-
.../expression/visitors/ConstantChecker.java | 8 +-
.../common/expression/visitors/ExprVisitor.java | 8 +-
.../common/expression/visitors/OpVisitor.java | 8 +-
.../expression/visitors/SimpleExprVisitor.java | 17 +
.../drill/common/graph/AdjacencyList.java | 8 +-
.../common/graph/AdjacencyListBuilder.java | 8 +-
.../org/apache/drill/common/graph/Edge.java | 8 +-
.../org/apache/drill/common/graph/Graph.java | 8 +-
.../apache/drill/common/graph/GraphAlgos.java | 8 +-
.../apache/drill/common/graph/GraphValue.java | 8 +-
.../apache/drill/common/graph/GraphVisitor.java | 8 +-
.../apache/drill/common/graph/Visitable.java | 8 +-
.../drill/common/logical/LogicalPlan.java | 8 +-
.../common/logical/StorageEngineConfig.java | 8 +-
.../common/logical/StorageEngineConfigBase.java | 8 +-
.../common/logical/UnexpectedOperatorType.java | 8 +-
.../drill/common/logical/ValidationError.java | 8 +-
.../logical/data/CollapsingAggregate.java | 8 +-
.../drill/common/logical/data/Constant.java | 4 +-
.../drill/common/logical/data/Filter.java | 8 +-
.../drill/common/logical/data/Flatten.java | 8 +-
.../apache/drill/common/logical/data/Join.java | 6 +-
.../common/logical/data/JoinCondition.java | 8 +-
.../apache/drill/common/logical/data/Limit.java | 8 +-
.../common/logical/data/LogicalOperator.java | 6 +-
.../logical/data/LogicalOperatorBase.java | 8 +-
.../common/logical/data/NamedExpression.java | 8 +-
.../apache/drill/common/logical/data/Order.java | 8 +-
.../drill/common/logical/data/Project.java | 8 +-
.../common/logical/data/RunningAggregate.java | 8 +-
.../apache/drill/common/logical/data/Scan.java | 4 +-
.../drill/common/logical/data/Segment.java | 8 +-
.../drill/common/logical/data/Sequence.java | 8 +-
.../logical/data/SingleInputOperator.java | 8 +-
.../drill/common/logical/data/SinkOperator.java | 8 +-
.../common/logical/data/SourceOperator.java | 8 +-
.../apache/drill/common/logical/data/Store.java | 8 +-
.../drill/common/logical/data/Transform.java | 8 +-
.../apache/drill/common/logical/data/Union.java | 8 +-
.../drill/common/logical/data/WindowFrame.java | 4 +-
.../data/visitors/AbstractLogicalVisitor.java | 8 +-
.../logical/data/visitors/LogicalVisitor.java | 8 +-
.../drill/common/logical/defs/OrderDef.java | 8 +-
.../drill/common/logical/defs/PartitionDef.java | 8 +-
.../org/apache/drill/common/types/Types.java | 17 +
.../drill/common/util/AbstractDynamicBean.java | 8 +-
.../org/apache/drill/common/util/FileUtils.java | 8 +-
.../java/org/apache/drill/common/util/Hook.java | 4 +-
.../apache/drill/common/util/PathScanner.java | 8 +-
.../common/expression/parser/TreeTest.java | 17 +
.../drill/storage/CheckStorageConfig.java | 8 +-
.../java/org/apache/drill/storage/Simple.java | 8 +-
.../apache/drill/synth/ChineseRestaurant.java | 18 +-
.../org/apache/drill/synth/LogGenerator.java | 17 +
.../java/org/apache/drill/synth/LogLine.java | 17 +
.../java/org/apache/drill/synth/LongTail.java | 17 +
.../main/java/org/apache/drill/synth/Main.java | 17 +
.../org/apache/drill/synth/TermGenerator.java | 17 +
.../main/java/org/apache/drill/synth/User.java | 17 +
.../org/apache/drill/synth/WordGenerator.java | 17 +
.../apache/drill/synth/LogGeneratorTest.java | 17 +
.../apache/drill/synth/TermGeneratorTest.java | 17 +
.../apache/drill/synth/WordGeneratorTest.java | 17 +
distribution/src/resources/drill-env.sh | 14 +
distribution/src/resources/drill-override.conf | 15 +
distribution/src/resources/runbit | 15 +
distribution/src/resources/sqlline | 15 +
distribution/src/resources/submit_plan | 15 +
.../main/java/io/netty/buffer/PoolArenaL.java | 25 +-
.../main/java/io/netty/buffer/PoolChunkL.java | 25 +-
.../java/io/netty/buffer/PoolChunkListL.java | 25 +-
.../main/java/io/netty/buffer/PoolSubpageL.java | 25 +-
.../java/io/netty/buffer/PoolThreadCacheL.java | 25 +-
.../netty/buffer/PooledByteBufAllocatorL.java | 25 +-
.../java/io/netty/buffer/PooledByteBufL.java | 25 +-
.../java/io/netty/buffer/PooledHeapBufferL.java | 17 +
.../buffer/PooledUnsafeDirectByteBufL.java | 25 +-
.../main/codegen/templates/CastFunctions.java | 17 +
.../codegen/templates/ComparisonFunctions.java | 17 +
.../codegen/templates/FixedValueVectors.java | 17 +
.../codegen/templates/NullableValueVectors.java | 17 +
.../codegen/templates/RepeatedValueVectors.java | 17 +
.../src/main/codegen/templates/TypeHelper.java | 17 +
.../main/codegen/templates/ValueHolders.java | 17 +
.../templates/VariableLengthVectors.java | 17 +
.../org/apache/drill/exec/ExecConstants.java | 8 +-
.../drill/exec/cache/DistributedCache.java | 8 +-
.../org/apache/drill/exec/cache/HazelCache.java | 8 +-
.../org/apache/drill/exec/cache/LocalCache.java | 8 +-
.../apache/drill/exec/cache/ProtoBufImpl.java | 8 +-
.../apache/drill/exec/cache/ProtoBufWrap.java | 8 +-
.../org/apache/drill/exec/cache/ProtoMap.java | 8 +-
.../apache/drill/exec/client/DrillClient.java | 4 +-
.../drill/exec/client/QuerySubmitter.java | 17 +
.../drill/exec/compile/ClassBodyBuilder.java | 8 +-
.../drill/exec/compile/ClassCompiler.java | 8 +-
.../drill/exec/compile/ClassTransformer.java | 8 +-
.../drill/exec/compile/JDKClassCompiler.java | 8 +-
.../drill/exec/compile/JaninoClassCompiler.java | 8 +-
.../drill/exec/compile/QueryClassLoader.java | 8 +-
.../exec/compile/TemplateClassDefinition.java | 8 +-
.../exec/compile/sig/CodeGeneratorArgument.java | 17 +
.../exec/compile/sig/CodeGeneratorMethod.java | 17 +
.../compile/sig/CodeGeneratorSignature.java | 17 +
.../sig/ConstantExpressionIdentifier.java | 17 +
.../exec/compile/sig/GeneratorMapping.java | 17 +
.../drill/exec/compile/sig/MappingSet.java | 17 +
.../drill/exec/compile/sig/Signature.java | 17 +
.../drill/exec/compile/sig/SignatureHolder.java | 17 +
.../drill/exec/compile/sig/VVReadBatch.java | 17 +
.../drill/exec/compile/sig/VVWriteBatch.java | 17 +
.../drill/exec/coord/ClusterCoordinator.java | 8 +-
.../exec/coord/DrillServiceInstanceHelper.java | 8 +-
.../drill/exec/coord/DrillbitEndpointSerDe.java | 8 +-
.../exec/coord/LocalClusterCoordinator.java | 8 +-
.../drill/exec/coord/ZKClusterCoordinator.java | 4 +-
.../drill/exec/coord/ZKRegistrationHandle.java | 8 +-
.../java/org/apache/drill/exec/disk/Spool.java | 8 +-
.../drill/exec/exception/BitComException.java | 8 +-
.../exception/ClassTransformationException.java | 8 +-
.../exception/DrillbitStartupException.java | 8 +-
.../exec/exception/FragmentSetupException.java | 8 +-
.../exec/exception/OptimizerException.java | 17 +
.../exec/exception/SchemaChangeException.java | 8 +-
.../drill/exec/exception/SetupException.java | 8 +-
.../apache/drill/exec/expr/CodeGenerator.java | 17 +
.../drill/exec/expr/DirectExpression.java | 17 +
.../apache/drill/exec/expr/DrillAggFunc.java | 17 +
.../org/apache/drill/exec/expr/DrillFunc.java | 17 +
.../apache/drill/exec/expr/DrillSimpleFunc.java | 17 +
.../drill/exec/expr/EvaluationVisitor.java | 17 +
.../exec/expr/ExpressionTreeMaterializer.java | 5 +-
.../exec/expr/HoldingContainerExpression.java | 17 +
.../exec/expr/SingleClassStringWriter.java | 17 +
.../exec/expr/ValueVectorReadExpression.java | 17 +
.../exec/expr/ValueVectorWriteExpression.java | 17 +
.../exec/expr/annotations/FunctionTemplate.java | 17 +
.../drill/exec/expr/annotations/MethodMap.java | 17 +
.../drill/exec/expr/annotations/Output.java | 17 +
.../drill/exec/expr/annotations/Param.java | 17 +
.../drill/exec/expr/annotations/Workspace.java | 17 +
.../drill/exec/expr/fn/DrillAggFuncHolder.java | 17 +
.../drill/exec/expr/fn/DrillFuncHolder.java | 17 +
.../exec/expr/fn/DrillSimpleFuncHolder.java | 17 +
.../apache/drill/exec/expr/fn/FunctionBody.java | 17 +
.../drill/exec/expr/fn/FunctionConverter.java | 17 +
.../expr/fn/FunctionImplementationRegistry.java | 17 +
.../drill/exec/expr/fn/ImportGrabber.java | 17 +
.../exec/expr/fn/MethodGrabbingVisitor.java | 17 +
.../exec/expr/fn/ModifiedUnparseVisitor.java | 17 +
.../exec/expr/fn/agg/impl/CountFunctions.java | 17 +
.../exec/expr/fn/agg/impl/SumFunctions.java | 17 +
.../drill/exec/expr/fn/impl/Alternator.java | 17 +
.../drill/exec/expr/fn/impl/BitFunctions.java | 17 +
.../drill/exec/expr/fn/impl/ByteSubstring.java | 5 +-
.../drill/exec/expr/fn/impl/CharSubstring.java | 5 +-
.../exec/expr/fn/impl/ComparatorFunctions.java | 17 +
.../exec/expr/fn/impl/ComparisonFunctions.java | 17 +
.../fn/impl/ComparisonFunctionsNullable.java | 17 +
.../drill/exec/expr/fn/impl/HashFunctions.java | 5 +-
.../drill/exec/expr/fn/impl/HashHelper.java | 17 +
.../drill/exec/expr/fn/impl/IsNotNull.java | 5 +-
.../apache/drill/exec/expr/fn/impl/IsNull.java | 5 +-
.../drill/exec/expr/fn/impl/MathFunctions.java | 17 +
.../expr/fn/impl/SimpleRepeatedFunctions.java | 17 +
.../drill/exec/expr/fn/impl/VarHelpers.java | 17 +
.../drill/exec/expr/holders/ValueHolder.java | 17 +
.../drill/exec/memory/BufferAllocator.java | 8 +-
.../exec/memory/DirectBufferAllocator.java | 8 +-
.../exec/metrics/SingleThreadNestedCounter.java | 8 +-
.../apache/drill/exec/ops/FragmentContext.java | 8 +-
.../org/apache/drill/exec/ops/QueryContext.java | 8 +-
.../apache/drill/exec/opt/BasicOptimizer.java | 17 +
.../drill/exec/opt/IdentityOptimizer.java | 8 +-
.../org/apache/drill/exec/opt/Optimizer.java | 8 +-
.../drill/exec/physical/DataValidationMode.java | 8 +-
.../drill/exec/physical/EndpointAffinity.java | 8 +-
.../drill/exec/physical/OperatorCost.java | 8 +-
.../drill/exec/physical/PhysicalPlan.java | 8 +-
.../apache/drill/exec/physical/ReadEntry.java | 8 +-
.../drill/exec/physical/ReadEntryFromHDFS.java | 4 +-
.../drill/exec/physical/ReadEntryWithPath.java | 4 +-
.../apache/drill/exec/physical/RecordField.java | 8 +-
.../apache/drill/exec/physical/WriteEntry.java | 8 +-
.../drill/exec/physical/base/AbstractBase.java | 8 +-
.../exec/physical/base/AbstractExchange.java | 8 +-
.../exec/physical/base/AbstractGroupScan.java | 8 +-
.../exec/physical/base/AbstractMultiple.java | 17 +
.../physical/base/AbstractPhysicalVisitor.java | 8 +-
.../exec/physical/base/AbstractReceiver.java | 8 +-
.../exec/physical/base/AbstractSender.java | 8 +-
.../exec/physical/base/AbstractSingle.java | 8 +-
.../drill/exec/physical/base/AbstractStore.java | 8 +-
.../drill/exec/physical/base/Exchange.java | 8 +-
.../drill/exec/physical/base/ExchangeCost.java | 8 +-
.../drill/exec/physical/base/FragmentLeaf.java | 8 +-
.../drill/exec/physical/base/FragmentRoot.java | 8 +-
.../drill/exec/physical/base/GroupScan.java | 8 +-
.../drill/exec/physical/base/HasAffinity.java | 8 +-
.../apache/drill/exec/physical/base/Leaf.java | 8 +-
.../exec/physical/base/PhysicalOperator.java | 8 +-
.../physical/base/PhysicalOperatorUtil.java | 8 +-
.../exec/physical/base/PhysicalVisitor.java | 8 +-
.../drill/exec/physical/base/Receiver.java | 8 +-
.../apache/drill/exec/physical/base/Root.java | 8 +-
.../apache/drill/exec/physical/base/Scan.java | 4 +-
.../apache/drill/exec/physical/base/Sender.java | 8 +-
.../apache/drill/exec/physical/base/Size.java | 8 +-
.../apache/drill/exec/physical/base/Store.java | 8 +-
.../drill/exec/physical/base/SubScan.java | 4 +-
.../drill/exec/physical/config/Filter.java | 8 +-
.../physical/config/HashPartitionSender.java | 8 +-
.../physical/config/HashToRandomExchange.java | 8 +-
.../exec/physical/config/MergeJoinPOP.java | 17 +
.../exec/physical/config/PartitionRange.java | 8 +-
.../drill/exec/physical/config/Project.java | 8 +-
.../exec/physical/config/RandomReceiver.java | 8 +-
.../drill/exec/physical/config/RangeSender.java | 8 +-
.../drill/exec/physical/config/Screen.java | 8 +-
.../physical/config/SelectionVectorRemover.java | 8 +-
.../exec/physical/config/SingleSender.java | 8 +-
.../apache/drill/exec/physical/config/Sort.java | 8 +-
.../physical/config/StreamingAggregate.java | 8 +-
.../drill/exec/physical/config/Union.java | 17 +
.../exec/physical/config/UnionExchange.java | 8 +-
.../drill/exec/physical/impl/BatchCreator.java | 8 +-
.../drill/exec/physical/impl/ImplCreator.java | 4 +-
.../drill/exec/physical/impl/OutputMutator.java | 8 +-
.../exec/physical/impl/PhysicalConfig.java | 8 +-
.../physical/impl/RandomReceiverCreator.java | 8 +-
.../drill/exec/physical/impl/RootCreator.java | 8 +-
.../drill/exec/physical/impl/RootExec.java | 8 +-
.../drill/exec/physical/impl/ScanBatch.java | 8 +-
.../drill/exec/physical/impl/ScreenCreator.java | 8 +-
.../exec/physical/impl/SingleSenderCreator.java | 8 +-
.../exec/physical/impl/WireRecordBatch.java | 8 +-
.../exec/physical/impl/aggregate/AggBatch.java | 17 +
.../impl/aggregate/AggBatchCreator.java | 17 +
.../physical/impl/aggregate/AggTemplate.java | 17 +
.../physical/impl/aggregate/Aggregator.java | 17 +
.../physical/impl/aggregate/BatchIterator.java | 17 +
.../physical/impl/aggregate/InternalBatch.java | 17 +
.../impl/filter/EvalSetupException.java | 17 +
.../impl/filter/EvaluationPredicate.java | 17 +
.../impl/filter/FilterBatchCreator.java | 17 +
.../physical/impl/filter/FilterRecordBatch.java | 17 +
.../physical/impl/filter/FilterSignature.java | 17 +
.../physical/impl/filter/FilterTemplate.java | 17 +
.../exec/physical/impl/filter/Filterer.java | 17 +
.../impl/filter/ReturnValueExpression.java | 17 +
.../exec/physical/impl/join/JoinStatus.java | 17 +
.../exec/physical/impl/join/JoinTemplate.java | 17 +
.../exec/physical/impl/join/JoinWorker.java | 17 +
.../exec/physical/impl/join/MergeJoinBatch.java | 17 +
.../impl/join/MergeJoinBatchBuilder.java | 5 +-
.../physical/impl/join/MergeJoinCreator.java | 5 +-
.../impl/materialize/QueryWritableBatch.java | 8 +-
.../impl/materialize/RecordMaterializer.java | 8 +-
.../materialize/VectorRecordMaterializer.java | 8 +-
.../partitionsender/OutgoingRecordBatch.java | 5 +-
.../partitionsender/PartitionSenderCreator.java | 5 +-
.../PartitionSenderRootExec.java | 5 +-
.../impl/partitionsender/Partitioner.java | 5 +-
.../partitionsender/PartitionerTemplate.java | 5 +-
.../impl/project/ProjectBatchCreator.java | 17 +
.../impl/project/ProjectRecordBatch.java | 17 +
.../exec/physical/impl/project/Projector.java | 17 +
.../impl/project/ProjectorTemplate.java | 17 +
.../physical/impl/sort/RecordBatchData.java | 17 +
.../exec/physical/impl/sort/SortBatch.java | 17 +
.../physical/impl/sort/SortBatchCreator.java | 17 +
.../impl/sort/SortRecordBatchBuilder.java | 17 +
.../exec/physical/impl/sort/SortTemplate.java | 17 +
.../drill/exec/physical/impl/sort/Sorter.java | 17 +
.../exec/physical/impl/svremover/Copier.java | 17 +
.../impl/svremover/CopierTemplate2.java | 17 +
.../impl/svremover/CopierTemplate4.java | 17 +
.../impl/svremover/RemovingRecordBatch.java | 17 +
.../impl/svremover/SVRemoverCreator.java | 17 +
.../physical/impl/union/UnionBatchCreator.java | 17 +
.../physical/impl/union/UnionRecordBatch.java | 17 +
.../exec/planner/AbstractOpWrapperVisitor.java | 8 +-
.../apache/drill/exec/planner/ExecPlanner.java | 8 +-
.../drill/exec/planner/PhysicalPlanReader.java | 8 +-
.../drill/exec/planner/SimpleExecPlanner.java | 8 +-
.../drill/exec/planner/fragment/Fragment.java | 8 +-
.../exec/planner/fragment/FragmentVisitor.java | 8 +-
.../planner/fragment/MakeFragmentsVisitor.java | 8 +-
.../planner/fragment/MaterializedFragment.java | 8 +-
.../exec/planner/fragment/Materializer.java | 8 +-
.../exec/planner/fragment/PlanningSet.java | 8 +-
.../planner/fragment/SimpleParallelizer.java | 4 +-
.../drill/exec/planner/fragment/Stats.java | 8 +-
.../exec/planner/fragment/StatsCollector.java | 8 +-
.../drill/exec/planner/fragment/Wrapper.java | 8 +-
.../drill/exec/record/AbstractRecordBatch.java | 17 +
.../exec/record/AbstractSingleRecordBatch.java | 17 +
.../apache/drill/exec/record/BatchSchema.java | 4 +-
.../org/apache/drill/exec/record/DeadBuf.java | 8 +-
.../exec/record/FragmentWritableBatch.java | 8 +-
.../drill/exec/record/HyperVectorWrapper.java | 17 +
.../drill/exec/record/MajorTypeSerDe.java | 8 +-
.../drill/exec/record/MaterializeVisitor.java | 17 +
.../drill/exec/record/MaterializedField.java | 8 +-
.../drill/exec/record/NullExpression.java | 17 +
.../drill/exec/record/RawFragmentBatch.java | 8 +-
.../exec/record/RawFragmentBatchProvider.java | 8 +-
.../apache/drill/exec/record/RecordBatch.java | 8 +-
.../drill/exec/record/RecordBatchLoader.java | 4 +-
.../apache/drill/exec/record/SchemaBuilder.java | 8 +-
.../drill/exec/record/SimpleVectorWrapper.java | 17 +
.../apache/drill/exec/record/TransferPair.java | 17 +
.../apache/drill/exec/record/TypedFieldId.java | 17 +
.../drill/exec/record/VectorContainer.java | 17 +
.../apache/drill/exec/record/VectorWrapper.java | 17 +
.../apache/drill/exec/record/WritableBatch.java | 8 +-
.../exec/record/selection/SelectionVector2.java | 8 +-
.../exec/record/selection/SelectionVector4.java | 5 +-
.../selection/SelectionVector4Builder.java | 17 +
.../exec/rpc/AbstractHandshakeHandler.java | 8 +-
.../java/org/apache/drill/exec/rpc/Acks.java | 8 +-
.../drill/exec/rpc/BaseRpcOutcomeListener.java | 8 +-
.../org/apache/drill/exec/rpc/BasicClient.java | 8 +-
.../exec/rpc/BasicClientWithConnection.java | 8 +-
.../org/apache/drill/exec/rpc/BasicServer.java | 8 +-
.../drill/exec/rpc/ChannelClosedException.java | 8 +-
.../rpc/ChannelListenerWithCoordinationId.java | 8 +-
.../drill/exec/rpc/CoordinationQueue.java | 8 +-
.../apache/drill/exec/rpc/DrillRpcFuture.java | 8 +-
.../drill/exec/rpc/DrillRpcFutureImpl.java | 8 +-
.../drill/exec/rpc/InboundRpcMessage.java | 6 +-
.../drill/exec/rpc/NamedThreadFactory.java | 8 +-
.../drill/exec/rpc/OutboundRpcMessage.java | 8 +-
.../drill/exec/rpc/PositiveAtomicInteger.java | 8 +-
.../apache/drill/exec/rpc/RemoteConnection.java | 8 +-
.../drill/exec/rpc/RemoteRpcException.java | 8 +-
.../org/apache/drill/exec/rpc/Response.java | 8 +-
.../java/org/apache/drill/exec/rpc/RpcBus.java | 8 +-
.../apache/drill/exec/rpc/RpcCheckedFuture.java | 8 +-
.../org/apache/drill/exec/rpc/RpcConfig.java | 8 +-
.../drill/exec/rpc/RpcConnectionHandler.java | 8 +-
.../org/apache/drill/exec/rpc/RpcConstants.java | 8 +-
.../org/apache/drill/exec/rpc/RpcDecoder.java | 8 +-
.../org/apache/drill/exec/rpc/RpcEncoder.java | 8 +-
.../org/apache/drill/exec/rpc/RpcException.java | 8 +-
.../drill/exec/rpc/RpcExceptionHandler.java | 8 +-
.../org/apache/drill/exec/rpc/RpcMessage.java | 8 +-
.../org/apache/drill/exec/rpc/RpcOutcome.java | 8 +-
.../drill/exec/rpc/RpcOutcomeListener.java | 8 +-
.../exec/rpc/ZeroCopyProtobufLengthDecoder.java | 8 +-
.../exec/rpc/bit/AvailabilityListener.java | 8 +-
.../apache/drill/exec/rpc/bit/BitClient.java | 8 +-
.../org/apache/drill/exec/rpc/bit/BitCom.java | 8 +-
.../rpc/bit/BitComDefaultInstanceHandler.java | 8 +-
.../apache/drill/exec/rpc/bit/BitComImpl.java | 8 +-
.../apache/drill/exec/rpc/bit/BitCommand.java | 8 +-
.../drill/exec/rpc/bit/BitConnection.java | 8 +-
.../exec/rpc/bit/BitConnectionManager.java | 8 +-
.../apache/drill/exec/rpc/bit/BitRpcConfig.java | 8 +-
.../apache/drill/exec/rpc/bit/BitServer.java | 8 +-
.../apache/drill/exec/rpc/bit/BitTunnel.java | 8 +-
.../exec/rpc/bit/ConnectionManagerRegistry.java | 8 +-
.../drill/exec/rpc/bit/FutureBitCommand.java | 8 +-
.../apache/drill/exec/rpc/bit/ListenerPool.java | 8 +-
.../drill/exec/rpc/bit/ListeningBitCommand.java | 8 +-
.../apache/drill/exec/rpc/bit/SendProgress.java | 8 +-
.../drill/exec/rpc/user/QueryResultBatch.java | 8 +-
.../drill/exec/rpc/user/QueryResultHandler.java | 8 +-
.../apache/drill/exec/rpc/user/UserClient.java | 8 +-
.../exec/rpc/user/UserResultsListener.java | 8 +-
.../drill/exec/rpc/user/UserRpcConfig.java | 8 +-
.../apache/drill/exec/rpc/user/UserServer.java | 8 +-
.../apache/drill/exec/schema/BackedRecord.java | 5 +-
.../apache/drill/exec/schema/DataRecord.java | 5 +-
.../apache/drill/exec/schema/DiffSchema.java | 5 +-
.../org/apache/drill/exec/schema/Field.java | 5 +-
.../apache/drill/exec/schema/IdGenerator.java | 5 +-
.../apache/drill/exec/schema/ListSchema.java | 5 +-
.../apache/drill/exec/schema/NamedField.java | 5 +-
.../apache/drill/exec/schema/ObjectSchema.java | 5 +-
.../apache/drill/exec/schema/OrderedField.java | 5 +-
.../org/apache/drill/exec/schema/Record.java | 5 +-
.../apache/drill/exec/schema/RecordSchema.java | 5 +-
.../drill/exec/schema/SchemaIdGenerator.java | 5 +-
.../exec/schema/json/jackson/JacksonHelper.java | 5 +-
.../drill/exec/server/BootStrapContext.java | 8 +-
.../org/apache/drill/exec/server/Drillbit.java | 8 +-
.../drill/exec/server/DrillbitContext.java | 8 +-
.../drill/exec/server/RemoteServiceSet.java | 8 +-
.../drill/exec/server/StartupOptions.java | 8 +-
.../drill/exec/service/ServiceEngine.java | 8 +-
.../drill/exec/store/AbstractStorageEngine.java | 8 +-
.../drill/exec/store/AffinityCalculator.java | 17 +
.../exec/store/BatchExceededException.java | 17 +
.../drill/exec/store/ClassPathFileSystem.java | 17 +
.../exec/store/DistributedStorageEngine.java | 17 +
.../drill/exec/store/QueryOptimizerRule.java | 8 +-
.../apache/drill/exec/store/RecordReader.java | 8 +-
.../apache/drill/exec/store/RecordRecorder.java | 8 +-
.../drill/exec/store/ResourceInputStream.java | 17 +
.../apache/drill/exec/store/SchemaProvider.java | 17 +
.../exec/store/SchemaProviderRegistry.java | 8 +-
.../apache/drill/exec/store/StorageEngine.java | 8 +-
.../drill/exec/store/StorageEngineRegistry.java | 8 +-
.../apache/drill/exec/store/VectorHolder.java | 5 +-
.../drill/exec/store/json/JSONGroupScan.java | 5 +-
.../drill/exec/store/json/JSONRecordReader.java | 17 +
.../exec/store/json/JSONScanBatchCreator.java | 5 +-
.../exec/store/json/JSONStorageEngine.java | 4 +-
.../store/json/JSONStorageEngineConfig.java | 17 +
.../drill/exec/store/json/JSONSubScan.java | 5 +-
.../exec/store/json/JsonSchemaProvider.java | 17 +
.../drill/exec/store/mock/MockGroupScanPOP.java | 8 +-
.../drill/exec/store/mock/MockRecordReader.java | 8 +-
.../exec/store/mock/MockScanBatchCreator.java | 8 +-
.../exec/store/mock/MockStorageEngine.java | 8 +-
.../store/mock/MockStorageEngineConfig.java | 8 +-
.../drill/exec/store/mock/MockStorePOP.java | 8 +-
.../drill/exec/store/mock/MockSubScanPOP.java | 4 +-
.../drill/exec/store/parquet/BitReader.java | 4 +-
.../drill/exec/store/parquet/ColumnReader.java | 4 +-
.../store/parquet/FixedByteAlignedReader.java | 4 +-
.../exec/store/parquet/NullableBitReader.java | 4 +-
.../store/parquet/NullableColumnReader.java | 4 +-
.../parquet/NullableFixedByteAlignedReader.java | 4 +-
.../exec/store/parquet/PageReadStatus.java | 4 +-
.../exec/store/parquet/ParquetGroupScan.java | 4 +-
.../exec/store/parquet/ParquetRecordReader.java | 4 +-
.../exec/store/parquet/ParquetRowGroupScan.java | 4 +-
.../store/parquet/ParquetScanBatchCreator.java | 4 +-
.../store/parquet/ParquetSchemaProvider.java | 17 +
.../store/parquet/ParquetStorageEngine.java | 4 +-
.../parquet/ParquetStorageEngineConfig.java | 4 +-
.../exec/store/parquet/VarLenBinaryReader.java | 4 +-
.../org/apache/drill/exec/util/AtomicState.java | 8 +-
.../drill/exec/vector/AllocationHelper.java | 17 +
.../drill/exec/vector/BaseDataValueVector.java | 17 +
.../drill/exec/vector/BaseValueVector.java | 17 +
.../org/apache/drill/exec/vector/BitVector.java | 17 +
.../drill/exec/vector/FixedWidthVector.java | 17 +
.../vector/NullableVectorDefinitionSetter.java | 4 +-
.../exec/vector/RepeatedFixedWidthVector.java | 17 +
.../drill/exec/vector/RepeatedMutator.java | 5 +-
.../vector/RepeatedVariableWidthVector.java | 17 +
.../drill/exec/vector/SerializableVector.java | 17 +
.../drill/exec/vector/ValueHolderHelper.java | 17 +
.../apache/drill/exec/vector/ValueVector.java | 4 +-
.../drill/exec/vector/VariableWidthVector.java | 17 +
.../vector/allocator/FixedVectorAllocator.java | 17 +
.../allocator/VariableEstimatedVector.java | 17 +
.../allocator/VariableVectorAllocator.java | 17 +
.../exec/vector/allocator/VectorAllocator.java | 17 +
.../work/AbstractFragmentRunnerListener.java | 8 +-
.../apache/drill/exec/work/CancelableQuery.java | 8 +-
.../drill/exec/work/EndpointListener.java | 8 +-
.../apache/drill/exec/work/FragmentRunner.java | 8 +-
.../drill/exec/work/FragmentRunnerListener.java | 8 +-
.../apache/drill/exec/work/QueryWorkUnit.java | 8 +-
.../drill/exec/work/RecordOutputStream.java | 8 +-
.../exec/work/RemoteFragmentRunnerListener.java | 8 +-
.../apache/drill/exec/work/ResourceRequest.java | 8 +-
.../apache/drill/exec/work/RootNodeDriver.java | 8 +-
.../apache/drill/exec/work/StatusProvider.java | 8 +-
.../org/apache/drill/exec/work/WorkManager.java | 8 +-
.../work/batch/AbstractFragmentCollector.java | 8 +-
.../drill/exec/work/batch/BatchCollector.java | 8 +-
.../drill/exec/work/batch/BitComHandler.java | 8 +-
.../exec/work/batch/BitComHandlerImpl.java | 8 +-
.../drill/exec/work/batch/IncomingBuffers.java | 8 +-
.../drill/exec/work/batch/MergingCollector.java | 8 +-
.../exec/work/batch/PartitionedCollector.java | 8 +-
.../drill/exec/work/batch/RawBatchBuffer.java | 8 +-
.../work/batch/UnlimitedRawBatchBuffer.java | 8 +-
.../drill/exec/work/foreman/ErrorHelper.java | 8 +-
.../apache/drill/exec/work/foreman/Foreman.java | 8 +-
.../work/foreman/FragmentStatusListener.java | 8 +-
.../work/foreman/RunningFragmentManager.java | 8 +-
.../drill/exec/work/foreman/TunnelManager.java | 8 +-
.../work/fragment/IncomingFragmentHandler.java | 8 +-
.../work/fragment/LocalFragmentHandler.java | 8 +-
.../work/fragment/RemoteFragmentHandler.java | 8 +-
.../apache/drill/exec/work/user/UserWorker.java | 8 +-
.../parquet/hadoop/CodecFactoryExposer.java | 4 +-
.../apache/drill/exec/DrillSystemTestBase.java | 4 +-
.../java/org/apache/drill/exec/SortTest.java | 17 +
.../exec/client/DrillClientSystemTest.java | 17 +
.../exec/compile/ExampleExternalInterface.java | 8 +-
.../drill/exec/compile/ExampleTemplate.java | 8 +-
.../exec/compile/TestClassCompilationTypes.java | 8 +-
.../exec/compile/TestClassTransformation.java | 8 +-
.../org/apache/drill/exec/expr/EscapeTest1.java | 17 +
.../apache/drill/exec/expr/ExpressionTest.java | 17 +
.../exec/fn/impl/TestRepeatedFunction.java | 17 +
.../apache/drill/exec/memory/TestEndianess.java | 17 +
.../drill/exec/opt/BasicOptimizerTest.java | 17 +
.../physical/config/TestParsePhysicalPlan.java | 8 +-
.../exec/physical/impl/PerformanceTests.java | 5 +-
.../exec/physical/impl/SimpleRootExec.java | 17 +
.../physical/impl/TestComparisonFunctions.java | 17 +
.../impl/TestDistributedFragmentRun.java | 8 +-
.../impl/TestExecutionAbstractions.java | 5 +-
.../physical/impl/TestHashToRandomExchange.java | 5 +-
.../exec/physical/impl/TestOptiqPlans.java | 17 +
.../physical/impl/TestSimpleFragmentRun.java | 8 +-
.../exec/physical/impl/TestSimpleFunctions.java | 5 +-
.../drill/exec/physical/impl/agg/TestAgg.java | 17 +
.../physical/impl/filter/TestSimpleFilter.java | 17 +
.../exec/physical/impl/join/TestMergeJoin.java | 5 +-
.../impl/project/TestSimpleProjection.java | 17 +
.../exec/physical/impl/sort/TestSimpleSort.java | 17 +
.../physical/impl/svremover/TestSVRemover.java | 17 +
.../physical/impl/union/TestSimpleUnion.java | 17 +
.../apache/drill/exec/pop/PopUnitTestBase.java | 8 +-
.../drill/exec/pop/TestFragmentChecker.java | 8 +-
.../apache/drill/exec/pop/TestFragmenter.java | 8 +-
.../drill/exec/pop/TestInjectionValue.java | 8 +-
.../record/ExpressionTreeMaterializerTest.java | 17 +
.../drill/exec/record/vector/TestLoad.java | 17 +
.../exec/record/vector/TestValueVector.java | 17 +
.../apache/drill/exec/server/TestBitRpc.java | 8 +-
.../apache/drill/exec/store/ByteArrayUtil.java | 4 +-
.../drill/exec/store/JSONRecordReaderTest.java | 17 +
.../exec/store/ParquetRecordReaderTest.java | 4 +-
.../exec/store/TestAffinityCalculator.java | 17 +
.../exec/store/TestParquetPhysicalPlan.java | 17 +
.../store/parquet/ParquetRecordReaderTest.java | 4 +-
.../exec/store/parquet/TestFileGenerator.java | 17 +
.../drill/exec/util/MiniZooKeeperCluster.java | 6 +-
.../drill/exec/ref/BasicStatusHandle.java | 8 +-
.../apache/drill/exec/ref/ExecRefConstants.java | 8 +-
.../apache/drill/exec/ref/IteratorRegistry.java | 8 +-
.../org/apache/drill/exec/ref/ROPConverter.java | 8 +-
.../apache/drill/exec/ref/RecordIterator.java | 17 +
.../apache/drill/exec/ref/RecordPointer.java | 5 +-
.../drill/exec/ref/ReferenceInterpreter.java | 8 +-
.../drill/exec/ref/ReferenceTransform.java | 17 +
.../org/apache/drill/exec/ref/RunOutcome.java | 8 +-
.../apache/drill/exec/ref/UnbackedRecord.java | 4 +-
.../drill/exec/ref/eval/BaseBasicEvaluator.java | 8 +-
.../exec/ref/eval/BasicEvaluatorFactory.java | 8 +-
.../drill/exec/ref/eval/BoundarySubscriber.java | 8 +-
.../drill/exec/ref/eval/EvaluatorFactory.java | 8 +-
.../drill/exec/ref/eval/EvaluatorTypes.java | 8 +-
.../drill/exec/ref/eval/FieldEvaluator.java | 8 +-
.../apache/drill/exec/ref/eval/IfEvaluator.java | 8 +-
.../exec/ref/eval/SimpleEvaluationVisitor.java | 8 +-
.../exec/ref/eval/fn/ComparisonEvaluators.java | 8 +-
.../exec/ref/eval/fn/FunctionArguments.java | 8 +-
.../exec/ref/eval/fn/FunctionEvaluator.java | 8 +-
.../ref/eval/fn/FunctionEvaluatorRegistry.java | 8 +-
.../drill/exec/ref/eval/fn/MathEvaluators.java | 8 +-
.../exec/ref/eval/fn/StringEvaluators.java | 8 +-
.../fn/agg/AggregatingWrapperEvaluator.java | 8 +-
.../exec/ref/eval/fn/agg/CountAggregator.java | 8 +-
.../exec/ref/eval/fn/agg/SumAggregator.java | 8 +-
.../exec/ref/exceptions/MajorException.java | 8 +-
.../exec/ref/exceptions/RecordException.java | 8 +-
.../exec/ref/exceptions/SetupException.java | 8 +-
.../exec/ref/rops/AbstractBlockingOperator.java | 17 +
.../apache/drill/exec/ref/rops/BaseSinkROP.java | 8 +-
.../drill/exec/ref/rops/BoundaryListener.java | 8 +-
.../exec/ref/rops/CollapsingAggregateROP.java | 8 +-
.../apache/drill/exec/ref/rops/ConstantROP.java | 4 +-
.../apache/drill/exec/ref/rops/DataWriter.java | 8 +-
.../apache/drill/exec/ref/rops/FilterROP.java | 8 +-
.../apache/drill/exec/ref/rops/FlattenROP.java | 4 +-
.../org/apache/drill/exec/ref/rops/JoinROP.java | 4 +-
.../apache/drill/exec/ref/rops/LimitROP.java | 8 +-
.../apache/drill/exec/ref/rops/OrderROP.java | 17 +
.../apache/drill/exec/ref/rops/ProjectROP.java | 8 +-
.../drill/exec/ref/rops/ProxySimpleRecord.java | 8 +-
.../org/apache/drill/exec/ref/rops/ROP.java | 17 +
.../org/apache/drill/exec/ref/rops/ROPBase.java | 8 +-
.../drill/exec/ref/rops/ReferenceOperator.java | 17 +
.../exec/ref/rops/ReferenceOperatorBase.java | 8 +-
.../org/apache/drill/exec/ref/rops/ScanROP.java | 8 +-
.../apache/drill/exec/ref/rops/SegmentROP.java | 17 +
.../drill/exec/ref/rops/SingleInputROPBase.java | 8 +-
.../org/apache/drill/exec/ref/rops/SinkROP.java | 8 +-
.../apache/drill/exec/ref/rops/StoreROP.java | 8 +-
.../drill/exec/ref/rops/TransformROP.java | 8 +-
.../apache/drill/exec/ref/rops/UnionROP.java | 8 +-
.../drill/exec/ref/rops/WindowFrameROP.java | 5 +-
.../apache/drill/exec/ref/rse/ClasspathRSE.java | 8 +-
.../apache/drill/exec/ref/rse/ConsoleRSE.java | 8 +-
.../drill/exec/ref/rse/FileSystemRSE.java | 8 +-
.../drill/exec/ref/rse/JSONDataWriter.java | 8 +-
.../drill/exec/ref/rse/JSONRecordReader.java | 8 +-
.../drill/exec/ref/rse/OutputStreamWriter.java | 8 +-
.../org/apache/drill/exec/ref/rse/QueueRSE.java | 8 +-
.../org/apache/drill/exec/ref/rse/RSEBase.java | 8 +-
.../apache/drill/exec/ref/rse/RSERegistry.java | 8 +-
.../apache/drill/exec/ref/rse/RecordReader.java | 8 +-
.../drill/exec/ref/rse/RecordRecorder.java | 8 +-
.../exec/ref/rse/ReferenceStorageEngine.java | 8 +-
.../drill/exec/ref/util/BatchBreaker.java | 17 +
.../apache/drill/exec/ref/util/ByteRange.java | 17 +
.../drill/exec/ref/values/BaseArrayValue.java | 8 +-
.../drill/exec/ref/values/BaseDataValue.java | 8 +-
.../drill/exec/ref/values/BaseMapValue.java | 8 +-
.../drill/exec/ref/values/BooleanValue.java | 8 +-
.../drill/exec/ref/values/BytesValue.java | 8 +-
.../drill/exec/ref/values/ComparableValue.java | 8 +-
.../drill/exec/ref/values/ContainerValue.java | 8 +-
.../apache/drill/exec/ref/values/DataValue.java | 17 +
.../drill/exec/ref/values/DataValueSet.java | 8 +-
.../drill/exec/ref/values/NumericValue.java | 8 +-
.../drill/exec/ref/values/ScalarValues.java | 8 +-
.../drill/exec/ref/values/SimpleArrayValue.java | 8 +-
.../drill/exec/ref/values/SimpleMapValue.java | 8 +-
.../drill/exec/ref/values/StringValue.java | 8 +-
.../drill/exec/ref/values/ValueReader.java | 8 +-
.../drill/exec/ref/values/ValueUtils.java | 8 +-
.../apache/drill/exec/ref/RSERegistryTest.java | 4 +-
.../apache/drill/exec/ref/RunSimplePlan.java | 8 +-
.../org/apache/drill/exec/ref/TestUtils.java | 17 +
.../exec/ref/rops/CollapsingAggregateTest.java | 8 +-
.../drill/exec/ref/rops/ConstantROPTest.java | 17 +
.../apache/drill/exec/ref/rops/JoinROPTest.java | 4 +-
.../drill/exec/ref/rops/LimitROPTest.java | 17 +
.../drill/exec/ref/rops/OrderROPTest.java | 8 +-
.../drill/exec/ref/rops/UnionROPTest.java | 17 +
.../drill/exec/ref/rops/WindowFrameROPTest.java | 17 +
header | 15 +
pom.xml | 31 +-
.../logos/drill-vector-logo.graffle/data.plist | 16 +
sandbox/plan-parser/pom.xml | 102 ---
.../antlr3/org/apache/drill/plan/ast/Plan.g | 109 ---
.../java/org/apache/drill/plan/ParsePlan.java | 125 ----
.../apache/drill/plan/PhysicalInterpreter.java | 142 ----
.../java/org/apache/drill/plan/ast/Arg.java | 132 ----
.../plan/ast/LogicalPlanParseException.java | 11 -
.../main/java/org/apache/drill/plan/ast/Op.java | 35 -
.../java/org/apache/drill/plan/ast/Plan.java | 50 --
.../org/apache/drill/plan/json/Consumer.java | 33 -
.../org/apache/drill/plan/json/Explode.java | 41 -
.../org/apache/drill/plan/json/Expression.java | 70 --
.../java/org/apache/drill/plan/json/Filter.java | 33 -
.../org/apache/drill/plan/json/GroupBy.java | 53 --
.../org/apache/drill/plan/json/MapTuple.java | 39 -
.../apache/drill/plan/json/ScalarAggregate.java | 70 --
.../java/org/apache/drill/plan/json/Scan.java | 83 ---
.../org/apache/drill/plan/json/Sequence.java | 66 --
.../org/apache/drill/plan/json/SetValue.java | 54 --
.../drill/plan/json/SingleObjectCatcher.java | 26 -
.../java/org/apache/drill/plan/json/Tuple.java | 10 -
.../java/org/apache/drill/plan/json/Utils.java | 36 -
.../plan/physical/operators/ArithmeticOp.java | 161 ----
.../plan/physical/operators/BatchListener.java | 11 -
.../drill/plan/physical/operators/Bind.java | 51 --
.../plan/physical/operators/ConstantOp.java | 43 --
.../plan/physical/operators/DataListener.java | 25 -
.../plan/physical/operators/EvalOperator.java | 43 --
.../drill/plan/physical/operators/Explode.java | 60 --
.../drill/plan/physical/operators/Filter.java | 79 --
.../drill/plan/physical/operators/Implode.java | 63 --
.../plan/physical/operators/InvalidData.java | 31 -
.../plan/physical/operators/JsonSchema.java | 87 ---
.../drill/plan/physical/operators/Operator.java | 146 ----
.../drill/plan/physical/operators/ScanJson.java | 101 ---
.../drill/plan/physical/operators/Schema.java | 35 -
.../plan/physical/operators/SchemaListener.java | 25 -
.../org/apache/drill/plan/ParsePlanTest.java | 133 ----
.../drill/plan/PhysicalInterpreterTest.java | 39 -
.../org/apache/drill/plan/json/ExplodeTest.java | 38 -
.../org/apache/drill/plan/json/FilterTest.java | 27 -
.../org/apache/drill/plan/json/ScanTest.java | 26 -
.../org/apache/drill/plan/json/TestUtils.java | 37 -
.../apache/drill/plan/json/TupleCollector.java | 26 -
.../plan/physical/operators/ScanJsonTest.java | 32 -
.../src/test/resources/bad-plan1.drillx | 3 -
.../src/test/resources/bad-plan2.drillx | 1 -
.../plan-parser/src/test/resources/data1.json | 5 -
.../plan-parser/src/test/resources/data2.json | 2 -
.../src/test/resources/explode-flow.json | 32 -
.../src/test/resources/filter-flow.json | 15 -
sandbox/plan-parser/src/test/resources/iris.csv | 151 ----
.../src/test/resources/physical-1.drillx | 4 -
.../src/test/resources/physical-2.drillx | 7 -
.../plan-parser/src/test/resources/plan1.drillx | 3 -
.../plan-parser/src/test/resources/plan2.drillx | 9 -
.../plan-parser/src/test/resources/plan3.drillx | 11 -
.../plan-parser/src/test/resources/plan4.drillx | 13 -
.../plan-parser/src/test/resources/test1.csv | 3 -
sandbox/query-parser/pom.xml | 66 --
.../drill/parsers/impl/drqlantlr/DrqlAntlr.g | 289 -------
.../org/apache/drill/parsers/DrqlParser.java | 92 ---
.../parsers/impl/drqlantlr/AntlrParser.java | 747 -------------------
.../drill/parsers/impl/drqlantlr/AstNode.java | 52 --
.../parsers/impl/drqlantlr/SemanticModel.java | 250 -------
.../apache/drill/parsers/DrqlParserAstTest.java | 88 ---
.../apache/drill/parsers/DrqlParserTest.java | 457 ------------
sandbox/query-parser/testdata/q1.drql | 3 -
sandbox/query-parser/testdata/q1.drql.ast | 6 -
sandbox/query-parser/testdata/q10.drql | 1 -
sandbox/query-parser/testdata/q10.drql.ast | 1 -
sandbox/query-parser/testdata/q11.drql | 1 -
sandbox/query-parser/testdata/q11.drql.ast | 1 -
sandbox/query-parser/testdata/q12.drql | 1 -
sandbox/query-parser/testdata/q12.drql.ast | 1 -
sandbox/query-parser/testdata/q13.drql | 1 -
sandbox/query-parser/testdata/q13.drql.ast | 1 -
sandbox/query-parser/testdata/q14.drql | 1 -
sandbox/query-parser/testdata/q14.drql.ast | 1 -
sandbox/query-parser/testdata/q15.drql | 8 -
sandbox/query-parser/testdata/q15.drql.ast | 1 -
sandbox/query-parser/testdata/q16.drql | 1 -
sandbox/query-parser/testdata/q17.drql | 1 -
sandbox/query-parser/testdata/q18.bql | 3 -
sandbox/query-parser/testdata/q1_temp.drql.sm | 1 -
sandbox/query-parser/testdata/q2.drql | 3 -
sandbox/query-parser/testdata/q2.drql.ast | 1 -
sandbox/query-parser/testdata/q3.drql | 4 -
sandbox/query-parser/testdata/q3.drql.ast | 1 -
sandbox/query-parser/testdata/q4.drql | 3 -
sandbox/query-parser/testdata/q4.drql.ast | 1 -
sandbox/query-parser/testdata/q5.drql | 1 -
sandbox/query-parser/testdata/q5.drql.ast | 1 -
sandbox/query-parser/testdata/q6.drql | 1 -
sandbox/query-parser/testdata/q6.drql.ast | 1 -
sandbox/query-parser/testdata/q7.drql | 1 -
sandbox/query-parser/testdata/q7.drql.ast | 1 -
sandbox/query-parser/testdata/q8.drql | 3 -
sandbox/query-parser/testdata/q8.drql.ast | 1 -
sandbox/query-parser/testdata/q9.drql | 1 -
sandbox/query-parser/testdata/q9.drql.ast | 1 -
sandbox/query-parser/testdata/query.drql | 1 -
sandbox/web-frontend/drill.css | 18 +-
sandbox/web-frontend/drill.js | 16 +
sqlline | 14 +
.../apache/drill/jdbc/DrillDriverVersion.java | 4 +-
.../org/apache/drill/jdbc/DrillHandler.java | 17 +
.../java/org/apache/drill/jdbc/DrillTable.java | 4 +-
.../main/java/org/apache/drill/jdbc/Driver.java | 4 +-
.../java/org/apache/drill/jdbc/RefDriver.java | 4 +-
.../org/apache/drill/jdbc/StorageEngines.java | 17 +
.../apache/drill/optiq/DrillAggregateRel.java | 4 +-
.../apache/drill/optiq/DrillAggregateRule.java | 4 +-
.../org/apache/drill/optiq/DrillFilterRel.java | 4 +-
.../org/apache/drill/optiq/DrillFilterRule.java | 4 +-
.../apache/drill/optiq/DrillImplementor.java | 4 +-
.../org/apache/drill/optiq/DrillJoinRel.java | 4 +-
.../org/apache/drill/optiq/DrillJoinRule.java | 4 +-
.../java/org/apache/drill/optiq/DrillOptiq.java | 4 +-
.../apache/drill/optiq/DrillPrepareImpl.java | 4 +-
.../org/apache/drill/optiq/DrillProjectRel.java | 4 +-
.../apache/drill/optiq/DrillProjectRule.java | 4 +-
.../java/org/apache/drill/optiq/DrillRel.java | 4 +-
.../java/org/apache/drill/optiq/DrillScan.java | 17 +
.../org/apache/drill/optiq/DrillSortRel.java | 4 +-
.../org/apache/drill/optiq/DrillSortRule.java | 4 +-
.../org/apache/drill/optiq/DrillUnionRel.java | 4 +-
.../org/apache/drill/optiq/DrillUnionRule.java | 4 +-
.../org/apache/drill/optiq/DrillValuesRel.java | 4 +-
.../org/apache/drill/optiq/DrillValuesRule.java | 4 +-
.../org/apache/drill/optiq/EnumerableDrill.java | 4 +-
.../drill/optiq/EnumerableDrillFullEngine.java | 4 +-
.../apache/drill/optiq/EnumerableDrillRel.java | 4 +-
.../apache/drill/optiq/EnumerableDrillRule.java | 4 +-
.../drill/sql/client/full/BatchListener.java | 17 +
.../drill/sql/client/full/BatchLoaderMap.java | 17 +
.../drill/sql/client/full/DrillFullImpl.java | 17 +
.../sql/client/full/DrillMutableSchema.java | 17 +
.../drill/sql/client/full/FileSystemSchema.java | 17 +
.../drill/sql/client/full/JsonHelper.java | 17 +
.../drill/sql/client/full/ResultEnumerator.java | 17 +
.../drill/sql/client/ref/DrillRefImpl.java | 17 +
.../apache/drill/jdbc/test/FullEngineTest.java | 17 +
.../org/apache/drill/jdbc/test/JdbcAssert.java | 4 +-
.../org/apache/drill/jdbc/test/JdbcTest.java | 4 +-
830 files changed, 5513 insertions(+), 6948 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/com/google/protobuf/WireFormatProxy.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/com/google/protobuf/WireFormatProxy.java b/common/src/main/java/com/google/protobuf/WireFormatProxy.java
index f560e9f..ca09fdc 100644
--- a/common/src/main/java/com/google/protobuf/WireFormatProxy.java
+++ b/common/src/main/java/com/google/protobuf/WireFormatProxy.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package com.google.protobuf;
public class WireFormatProxy {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/JSONOptions.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/JSONOptions.java b/common/src/main/java/org/apache/drill/common/JSONOptions.java
index d091e17..8157dc6 100644
--- a/common/src/main/java/org/apache/drill/common/JSONOptions.java
+++ b/common/src/main/java/org/apache/drill/common/JSONOptions.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/PlanProperties.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/PlanProperties.java b/common/src/main/java/org/apache/drill/common/PlanProperties.java
index c532e18..637dd66 100644
--- a/common/src/main/java/org/apache/drill/common/PlanProperties.java
+++ b/common/src/main/java/org/apache/drill/common/PlanProperties.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common;
import com.fasterxml.jackson.annotation.JsonInclude;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/config/CommonConstants.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/config/CommonConstants.java b/common/src/main/java/org/apache/drill/common/config/CommonConstants.java
index 95bc979..f36a0e9 100644
--- a/common/src/main/java/org/apache/drill/common/config/CommonConstants.java
+++ b/common/src/main/java/org/apache/drill/common/config/CommonConstants.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.config;
public interface CommonConstants {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/config/ConfigProvider.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/config/ConfigProvider.java b/common/src/main/java/org/apache/drill/common/config/ConfigProvider.java
index c98040e..feeb64d 100644
--- a/common/src/main/java/org/apache/drill/common/config/ConfigProvider.java
+++ b/common/src/main/java/org/apache/drill/common/config/ConfigProvider.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.config;
import com.typesafe.config.Config;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/config/DrillConfig.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/config/DrillConfig.java b/common/src/main/java/org/apache/drill/common/config/DrillConfig.java
index 18d5e51..ffbf910 100644
--- a/common/src/main/java/org/apache/drill/common/config/DrillConfig.java
+++ b/common/src/main/java/org/apache/drill/common/config/DrillConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.config;
import java.net.URL;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/config/NestedConfig.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/config/NestedConfig.java b/common/src/main/java/org/apache/drill/common/config/NestedConfig.java
index 6954707..f063add 100644
--- a/common/src/main/java/org/apache/drill/common/config/NestedConfig.java
+++ b/common/src/main/java/org/apache/drill/common/config/NestedConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.config;
import com.typesafe.config.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/defs/OrderDef.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/defs/OrderDef.java b/common/src/main/java/org/apache/drill/common/defs/OrderDef.java
index 8e50058..e33de94 100644
--- a/common/src/main/java/org/apache/drill/common/defs/OrderDef.java
+++ b/common/src/main/java/org/apache/drill/common/defs/OrderDef.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.defs;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/defs/PartitionDef.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/defs/PartitionDef.java b/common/src/main/java/org/apache/drill/common/defs/PartitionDef.java
index 45298df..f763fd2 100644
--- a/common/src/main/java/org/apache/drill/common/defs/PartitionDef.java
+++ b/common/src/main/java/org/apache/drill/common/defs/PartitionDef.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.defs;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/DrillConfigurationException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/DrillConfigurationException.java b/common/src/main/java/org/apache/drill/common/exceptions/DrillConfigurationException.java
index aa83758..8411a1b 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/DrillConfigurationException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/DrillConfigurationException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class DrillConfigurationException extends DrillException {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/DrillError.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/DrillError.java b/common/src/main/java/org/apache/drill/common/exceptions/DrillError.java
index 95ededf..6a50fb6 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/DrillError.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/DrillError.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class DrillError extends Error {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/DrillException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/DrillException.java b/common/src/main/java/org/apache/drill/common/exceptions/DrillException.java
index 6ae8300..3cd086c 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/DrillException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/DrillException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class DrillException extends Exception {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/DrillIOException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/DrillIOException.java b/common/src/main/java/org/apache/drill/common/exceptions/DrillIOException.java
index cd7d4ab..7948978 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/DrillIOException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/DrillIOException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/DrillRuntimeException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/DrillRuntimeException.java b/common/src/main/java/org/apache/drill/common/exceptions/DrillRuntimeException.java
index 05961cd..9266cdd 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/DrillRuntimeException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/DrillRuntimeException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class DrillRuntimeException extends RuntimeException {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/ExecutionSetupException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/ExecutionSetupException.java b/common/src/main/java/org/apache/drill/common/exceptions/ExecutionSetupException.java
index 9096d89..2e50ae5 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/ExecutionSetupException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/ExecutionSetupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/ExpressionParsingException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/ExpressionParsingException.java b/common/src/main/java/org/apache/drill/common/exceptions/ExpressionParsingException.java
index e009dbd..9b3ab11 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/ExpressionParsingException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/ExpressionParsingException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class ExpressionParsingException extends LogicalPlanParsingException {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/LogicalOperatorValidationException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/LogicalOperatorValidationException.java b/common/src/main/java/org/apache/drill/common/exceptions/LogicalOperatorValidationException.java
index 642a103..3debf28 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/LogicalOperatorValidationException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/LogicalOperatorValidationException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class LogicalOperatorValidationException extends LogicalPlanParsingException {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/LogicalPlanParsingException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/LogicalPlanParsingException.java b/common/src/main/java/org/apache/drill/common/exceptions/LogicalPlanParsingException.java
index 3ae4869..cae21df 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/LogicalPlanParsingException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/LogicalPlanParsingException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
import java.util.Set;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/exceptions/PhysicalOperatorSetupException.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/exceptions/PhysicalOperatorSetupException.java b/common/src/main/java/org/apache/drill/common/exceptions/PhysicalOperatorSetupException.java
index f22cb16..3219b18 100644
--- a/common/src/main/java/org/apache/drill/common/exceptions/PhysicalOperatorSetupException.java
+++ b/common/src/main/java/org/apache/drill/common/exceptions/PhysicalOperatorSetupException.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.exceptions;
public class PhysicalOperatorSetupException extends ExecutionSetupException{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/Arg.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/Arg.java b/common/src/main/java/org/apache/drill/common/expression/Arg.java
index 217045c..0dd47ff 100644
--- a/common/src/main/java/org/apache/drill/common/expression/Arg.java
+++ b/common/src/main/java/org/apache/drill/common/expression/Arg.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ArgumentValidator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ArgumentValidator.java b/common/src/main/java/org/apache/drill/common/expression/ArgumentValidator.java
index 765dc3f..18456b5 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ArgumentValidator.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ArgumentValidator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java b/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java
index b745277..cd30a06 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ArgumentValidators.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/BasicArgumentValidator.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/BasicArgumentValidator.java b/common/src/main/java/org/apache/drill/common/expression/BasicArgumentValidator.java
index 26b7cf6..f6c94d9 100644
--- a/common/src/main/java/org/apache/drill/common/expression/BasicArgumentValidator.java
+++ b/common/src/main/java/org/apache/drill/common/expression/BasicArgumentValidator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/CallProvider.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/CallProvider.java b/common/src/main/java/org/apache/drill/common/expression/CallProvider.java
index 028a76c..2339261 100644
--- a/common/src/main/java/org/apache/drill/common/expression/CallProvider.java
+++ b/common/src/main/java/org/apache/drill/common/expression/CallProvider.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
public interface CallProvider {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/common/src/main/java/org/apache/drill/common/expression/ErrorCollector.java
----------------------------------------------------------------------
diff --git a/common/src/main/java/org/apache/drill/common/expression/ErrorCollector.java b/common/src/main/java/org/apache/drill/common/expression/ErrorCollector.java
index b322345..db6b153 100644
--- a/common/src/main/java/org/apache/drill/common/expression/ErrorCollector.java
+++ b/common/src/main/java/org/apache/drill/common/expression/ErrorCollector.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.common.expression;
import org.apache.drill.common.types.TypeProtos.MajorType;
[04/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordReader.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordReader.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordReader.java
index b7840bc..a441fc1 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordReader.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import org.apache.drill.exec.ref.RecordIterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordRecorder.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordRecorder.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordRecorder.java
index 9527b0b..848797e 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordRecorder.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/RecordRecorder.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ReferenceStorageEngine.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ReferenceStorageEngine.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ReferenceStorageEngine.java
index 41cba45..997d7d1 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ReferenceStorageEngine.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/rse/ReferenceStorageEngine.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rse;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/util/BatchBreaker.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/util/BatchBreaker.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/util/BatchBreaker.java
index 8966280..4806327 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/util/BatchBreaker.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/util/BatchBreaker.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.util;
import org.apache.drill.exec.ref.RecordPointer;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/util/ByteRange.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/util/ByteRange.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/util/ByteRange.java
index 40287b5..6f39759 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/util/ByteRange.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/util/ByteRange.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.util;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseArrayValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseArrayValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseArrayValue.java
index be808a3..7c42151 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseArrayValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseArrayValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import org.apache.drill.common.expression.PathSegment;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseDataValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseDataValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseDataValue.java
index 6603851..d979ed2 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseDataValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseDataValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseMapValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseMapValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseMapValue.java
index 4b7e192..b42390f 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseMapValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BaseMapValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.util.Map;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BooleanValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BooleanValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BooleanValue.java
index a3a9a85..81288cb 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BooleanValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BooleanValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
public interface BooleanValue extends DataValue{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BytesValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BytesValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BytesValue.java
index 460c358..5635051 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BytesValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/BytesValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
public interface BytesValue extends DataValue, ComparableValue{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ComparableValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ComparableValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ComparableValue.java
index 69a75c7..a87c929 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ComparableValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ComparableValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
public interface ComparableValue extends Comparable<DataValue>, DataValue {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ContainerValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ContainerValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ContainerValue.java
index 42d1a97..7e23872 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ContainerValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ContainerValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValue.java
index fca9cbb..b95897b 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValue.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.values;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValueSet.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValueSet.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValueSet.java
index 19efcd4..6e592be 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValueSet.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/DataValueSet.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.util.Arrays;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/NumericValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/NumericValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/NumericValue.java
index 45b8174..f32a80e 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/NumericValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/NumericValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.math.BigDecimal;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ScalarValues.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ScalarValues.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ScalarValues.java
index ba2e85a..9226b94 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ScalarValues.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ScalarValues.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleArrayValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleArrayValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleArrayValue.java
index b87a4db..2df0779 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleArrayValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleArrayValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleMapValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleMapValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleMapValue.java
index ec11225..645862f 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleMapValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/SimpleMapValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/StringValue.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/StringValue.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/StringValue.java
index a4b9c64..9fcee51 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/StringValue.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/StringValue.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
public interface StringValue extends DataValue, ComparableValue{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueReader.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueReader.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueReader.java
index 71365c3..3ddf2c6 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueReader.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueReader.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import org.apache.drill.common.exceptions.DrillRuntimeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueUtils.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueUtils.java b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueUtils.java
index 11617a4..ef1f30d 100644
--- a/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueUtils.java
+++ b/exec/ref/src/main/java/org/apache/drill/exec/ref/values/ValueUtils.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.values;
import org.apache.drill.common.expression.PathSegment;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/RSERegistryTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/RSERegistryTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/RSERegistryTest.java
index fe9d497..47db9ec 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/RSERegistryTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/RSERegistryTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import org.apache.drill.common.config.DrillConfig;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java
index 5b1841b..f4992e0 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/RunSimplePlan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/TestUtils.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/TestUtils.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/TestUtils.java
index c340e7e..6ebbb4b 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/TestUtils.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/TestUtils.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/CollapsingAggregateTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/CollapsingAggregateTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/CollapsingAggregateTest.java
index 34a500c..d63c0cc 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/CollapsingAggregateTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/CollapsingAggregateTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/ConstantROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/ConstantROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/ConstantROPTest.java
index 353e66d..be9426f 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/ConstantROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/ConstantROPTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import java.util.Collection;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/JoinROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/JoinROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/JoinROPTest.java
index 43dc719..0fd1241 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/JoinROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/JoinROPTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import org.apache.drill.exec.ref.TestUtils;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/LimitROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/LimitROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/LimitROPTest.java
index 0f77e28..73e9821 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/LimitROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/LimitROPTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import static org.junit.Assert.*;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/OrderROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/OrderROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/OrderROPTest.java
index 8a49040..d4ea473 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/OrderROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/OrderROPTest.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.ref.rops;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/UnionROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/UnionROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/UnionROPTest.java
index 7168a55..3a61078 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/UnionROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/UnionROPTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import static org.junit.Assert.assertEquals;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/WindowFrameROPTest.java
----------------------------------------------------------------------
diff --git a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/WindowFrameROPTest.java b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/WindowFrameROPTest.java
index 38f97b1..735c9cb 100644
--- a/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/WindowFrameROPTest.java
+++ b/exec/ref/src/test/java/org/apache/drill/exec/ref/rops/WindowFrameROPTest.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.ref.rops;
import com.google.common.collect.Lists;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/header
----------------------------------------------------------------------
diff --git a/header b/header
new file mode 100644
index 0000000..d22b55d
--- /dev/null
+++ b/header
@@ -0,0 +1,15 @@
+Licensed to the Apache Software Foundation (ASF) under one
+or more contributor license agreements. See the NOTICE file
+distributed with this work for additional information
+regarding copyright ownership. The ASF licenses this file
+to you under the Apache License, Version 2.0 (the
+"License"); you may not use this file except in compliance
+with the License. You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8a5ed01..de7294a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -141,6 +141,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.mycila</groupId>
+ <artifactId>license-maven-plugin</artifactId>
+ <version>2.3</version>
+ <configuration>
+ <header>header</header>
+ <includes>
+ <include>**/*.java</include>
+ </includes>
+ </configuration>
+ <executions>
+ <execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
<pluginManagement>
@@ -166,7 +185,16 @@
<argLine>-XX:MaxDirectMemorySize=4096M </argLine>
</configuration>
</plugin>
- <!--This plugin's configuration is used to store Eclipse m2e settings
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>0.10</version>
+ <configuration>
+ <property>rat.excludeSubprojects</property>
+ </configuration>
+ </plugin>
+
+ <!--This plugin's configuration is used to store Eclipse m2e settings
only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
@@ -379,6 +407,7 @@
<id>mapr</id>
<properties>
<alt-hadoop>mapr</alt-hadoop>
+ <rat.excludeSubprojects>false</rat.excludeSubprojects>
</properties>
<dependencyManagement>
<dependencies>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/logos/drill-vector-logo.graffle/data.plist
----------------------------------------------------------------------
diff --git a/sandbox/logos/drill-vector-logo.graffle/data.plist b/sandbox/logos/drill-vector-logo.graffle/data.plist
index c1a6a1c..5a63e8b 100644
--- a/sandbox/logos/drill-vector-logo.graffle/data.plist
+++ b/sandbox/logos/drill-vector-logo.graffle/data.plist
@@ -1,4 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/pom.xml
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/pom.xml b/sandbox/plan-parser/pom.xml
deleted file mode 100644
index 4d8c44a..0000000
--- a/sandbox/plan-parser/pom.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>plan-parser</groupId>
- <artifactId>plan-parser</artifactId>
- <version>0.1-SNAPSHOT</version>
- <dependencies>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- <version>10.0.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-databind</artifactId>
- <version>2.1.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-annotations</artifactId>
- <version>2.1.1</version>
- </dependency>
-
- <dependency>
- <groupId>com.fasterxml.jackson.core</groupId>
- <artifactId>jackson-core</artifactId>
- <version>2.1.1</version>
- </dependency>
-
- <dependency>
- <groupId>org.antlr</groupId>
- <artifactId>antlr</artifactId>
- <version>3.4</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- </dependency>
- <dependency>
- <groupId>janino</groupId>
- <artifactId>janino</artifactId>
- <version>2.5.10</version>
- </dependency>
- <dependency>
- <groupId>com.google.code.gson</groupId>
- <artifactId>gson</artifactId>
- <version>1.7.2</version>
- </dependency>
- <dependency>
- <groupId>org.apache.zookeeper</groupId>
- <artifactId>zookeeper</artifactId>
- <version>3.4.2</version>
- </dependency>
-
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>1.2.17</version>
- </dependency>
-
- </dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.antlr</groupId>
- <artifactId>antlr3-maven-plugin</artifactId>
- <version>3.4</version>
-
- <executions>
- <execution>
- <id>antlr-generate</id>
- <!-- this is used for inheritance merges -->
- <phase>generate-sources</phase>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>antlr</goal>
- </goals>
- </execution>
- </executions>
-
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>2.5.1</version>
- <configuration>
- <source>1.6</source>
- <target>1.6</target>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/antlr3/org/apache/drill/plan/ast/Plan.g
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/antlr3/org/apache/drill/plan/ast/Plan.g b/sandbox/plan-parser/src/main/antlr3/org/apache/drill/plan/ast/Plan.g
deleted file mode 100644
index 47afb11..0000000
--- a/sandbox/plan-parser/src/main/antlr3/org/apache/drill/plan/ast/Plan.g
+++ /dev/null
@@ -1,109 +0,0 @@
-grammar Plan;
-
-options {
- output = AST;
-}
-
-@header {
-package org.apache.drill.plan.ast;
-import com.google.common.collect.Lists;
-}
-
-@lexer::header {
-package org.apache.drill.plan.ast;
-}
-
-@lexer::members {
- Stack<String> paraphrase = new Stack<String>();
-}
-
-@members {
- Stack<String> paraphrase = new Stack<String>();
- public void reportError(RecognitionException e) {
- throw new LogicalPlanParseException(
- String.format("Syntax error in schema line \%d:\%d ", e.line, e.charPositionInLine),
- e);
- }
-
-}
-
-plan returns [Plan r]: s=statements EOF {$r = $s.r;};
-
-statements returns [Plan r]:
- s1 = statement {$r = Plan.create($s1.r);}
- ( s2 = statement {$r = $r.add($s2.r);} )*
- ;
-
-statement returns [Op r]:
- to=targets GETS o=OP from=args LINE_ENDING {$r = Op.create($o.text, $from.r, $to.r);}
- | LINE_ENDING {$r = null; };
-
-targets returns [List<Arg> r]:
- a = symbol {$r = Lists.newArrayList($a.r);} ( COMMA b = symbol {$r.add($b.r);} )* ;
-
-symbol returns [Arg r]:
- s = SYMBOL { $r = Arg.createSymbol($s.text); };
-
-args returns [List<Arg> r]: a = arg {$r = Lists.newArrayList($a.r);} ( COMMA b = arg {$r.add($b.r);} )* ;
-
-arg returns [Arg r]:
- s = STRING {$r = Arg.createString($s.text);}
- | z = HEX_LONG {$r = Arg.createLong($z.text);}
- | n = NUMBER {$r = Arg.createNumber($n.text);}
- | b = BOOLEAN {$r = Arg.createBoolean($b.text);}
- | s = SYMBOL {$r = Arg.createSymbol($s.text);}
- ;
-
-
-STRING
-@init { paraphrase.push("a string"); }
-@after { paraphrase.pop(); }
- : ('"'|'\u201c') ( ~('"' | '\\') | '\\' .)* ('"'|'\u201d') ;
-
-HEX_LONG
-@init { paraphrase.push("a binary string"); }
-@after { paraphrase.pop(); }
- : '0x' ( '0'..'9' | 'A'..'F' | 'a'..'f')+ ;
-
-GETS
-@init { paraphrase.push(":="); }
-@after { paraphrase.pop(); }
- : ':=' ;
-
-BOOLEAN
-@init { paraphrase.push("a boolean value"); }
-@after { paraphrase.pop(); }
- : 'true'|'false';
-
-SYMBOL
-@init { paraphrase.push("a percent-symbol"); }
-@after { paraphrase.pop(); }
- : '%' ('0'..'9')+;
-
-OP
-@init { paraphrase.push("an operator"); }
-@after { paraphrase.pop(); }
- : ('a'..'z'|'A'..'Z') ('a'..'z'|'A'..'Z'|'-')*
- | '>' | '<' | '>=' | '<=' | '+' | '-' | '*' | '/';
-
-COMMA
-@init { paraphrase.push("a comma"); }
-@after { paraphrase.pop(); }
- : ',' ;
-
-NUMBER
-@init { paraphrase.push("a number"); }
-@after { paraphrase.pop(); }
- : ('0'..'9')+ ;
-
-LINE_ENDING
-@init { paraphrase.push("an end of line"); }
-@after { paraphrase.pop(); }
- : '\r'? '\n';
-
-COMMENT
-@init { paraphrase.push("a comment"); }
-@after { paraphrase.pop(); }
- : '#' (~'\n')* {$channel=HIDDEN;} ;
-
-WHITESPACE: ( '\t' | ' ' )+ { $channel = HIDDEN; } ;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ParsePlan.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ParsePlan.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ParsePlan.java
deleted file mode 100644
index 1d7230d..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ParsePlan.java
+++ /dev/null
@@ -1,125 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan;
-
-import com.google.common.base.Charsets;
-import com.google.common.collect.HashMultiset;
-import com.google.common.collect.Multiset;
-import com.google.common.io.Files;
-import com.google.common.io.InputSupplier;
-import com.google.common.io.Resources;
-import org.antlr.runtime.ANTLRReaderStream;
-import org.antlr.runtime.CommonTokenStream;
-import org.antlr.runtime.RecognitionException;
-import org.apache.drill.plan.ast.*;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStreamReader;
-import java.util.Formatter;
-
-/**
- * Parses a plan from a resource or file.
- * <p/>
- * The result is validated to ensure that symbols mentioned on the left-hand side of assignments are only mentioned
- * once and all referenced symbols on the right hand side are defined somewhere.
- */
-public class ParsePlan {
- public static Plan parseResource(File file) throws ParseException {
- return ParsePlan.parse(Files.newReaderSupplier(file, Charsets.UTF_8));
- }
-
- public static Plan parseResource(String resourceName) throws ParseException {
- return ParsePlan.parse(Resources.newReaderSupplier(Resources.getResource(resourceName), Charsets.UTF_8));
- }
-
- public static Plan parse(InputSupplier<InputStreamReader> in) throws ParseException {
- PlanParser r;
- try {
- InputStreamReader inStream = in.getInput();
- PlanLexer lex = new PlanLexer(new ANTLRReaderStream(inStream));
- r = new PlanParser(new CommonTokenStream(lex));
- inStream.close();
- } catch (IOException e) {
- throw new ParseException(e);
- }
-
- try {
- Plan plan = r.plan().r;
- validate(plan);
- return plan;
- } catch (RecognitionException e) {
- throw new ParseException(e);
- }
- }
-
- private static void validate(Plan r) throws ValidationException {
- int errors = 0;
- Formatter errorMessages = new Formatter();
-
- // make sure that each output is assigned only once
- Multiset<Integer> counts = HashMultiset.create();
- int line = 1;
- for (Op op : r.getStatements()) {
- for (Arg assignment : op.getOutputs()) {
- int slot = ((Arg.Symbol) assignment).getSlot();
- counts.add(slot);
- if (counts.count(slot) != 1) {
- errorMessages.format("Output symbol %%%d used more than once in statement %d\n", slot, line);
- errors++;
- }
- }
- line++;
- }
-
- // make sure that each input is defined at least once
- line = 1;
- for (Op op : r.getStatements()) {
- for (Arg reference : op.getInputs()) {
- if (reference instanceof Arg.Symbol) {
- int slot = ((Arg.Symbol) reference).getSlot();
- if (counts.count(slot) <= 0) {
- errorMessages.format("Undefined reference to %%%d in statement %d\n", slot, line);
- errors++;
- }
- }
- }
- line++;
- }
-
- if (errors > 0) {
- throw new ValidationException(errorMessages.toString());
- }
- }
-
- public static class ParseException extends Exception {
- public ParseException(Throwable throwable) {
- super(throwable);
- }
-
- public ParseException(String s) {
- super(s);
- }
- }
-
- public static class ValidationException extends ParseException {
- public ValidationException(String s) {
- super(s);
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/PhysicalInterpreter.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/PhysicalInterpreter.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/PhysicalInterpreter.java
deleted file mode 100644
index 778ac90..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/PhysicalInterpreter.java
+++ /dev/null
@@ -1,142 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.apache.drill.plan;
-
-import com.google.common.base.Function;
-import com.google.common.base.Predicate;
-import com.google.common.collect.Iterables;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-import org.apache.drill.plan.ast.Arg;
-import org.apache.drill.plan.ast.Op;
-import org.apache.drill.plan.ast.Plan;
-import org.apache.drill.plan.physical.operators.DataListener;
-import org.apache.drill.plan.physical.operators.Operator;
-
-import javax.annotation.Nullable;
-import java.io.Closeable;
-import java.lang.reflect.InvocationTargetException;
-import java.util.Collection;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-import java.util.concurrent.*;
-
-/**
- * Takes a physical plan and interprets in locally. The goal here is to provide a reference
- * semantics, not to provide a high speed evaluation of a query.
- */
-public class PhysicalInterpreter implements DataListener {
- private final List<Operator> ops;
-
- public PhysicalInterpreter(Plan prog) throws SetupException {
- Map<Integer, Operator> bindings = Maps.newHashMap();
- ops = Lists.newArrayList();
-
- try {
- for (Op op : prog.getStatements()) {
- ops.add(Operator.create(op, bindings));
- }
- } catch (NoSuchMethodException e) {
- throw new SetupException(e);
- } catch (InvocationTargetException e) {
- throw new SetupException(e);
- } catch (IllegalAccessException e) {
- throw new SetupException(e);
- } catch (InstantiationException e) {
- throw new SetupException(e);
- }
-
- Iterator<Op> i = prog.getStatements().iterator();
- for (Operator op : ops) {
- op.link(i.next(), bindings);
- }
-
- Collection<Arg> outputs = prog.getOutputs();
- for (Arg output : outputs) {
- bindings.get(output.asSymbol().getInt()).addDataListener(this);
- }
- }
-
- public void run() throws QueryException {
- ExecutorService pool = Executors.newFixedThreadPool(ops.size());
-
- // pick out the ops that are tasks
- List<Callable<Object>> tasks = Lists.newArrayList(Iterables.transform(Iterables.filter(ops, new Predicate<Operator>() {
- @Override
- public boolean apply(@Nullable Operator operator) {
- return operator instanceof Callable;
- }
- }), new Function<Operator, Callable<Object>>() {
- @Override
- public Callable<Object> apply(@Nullable Operator operator) {
- // cast is safe due to previous filter
- return (Callable<Object>) operator;
- }
- }));
-
- List<Future<Object>> results;
- try {
- results = pool.invokeAll(tasks);
- } catch (InterruptedException e) {
- throw new QueryException(e);
- }
- pool.shutdown();
-
- for (Operator op : ops) {
- if (op instanceof Closeable) {
- op.close();
- }
- }
-
- try {
- Iterator<Callable<Object>> i = tasks.iterator();
- for (Future<Object> result : results) {
- System.out.printf("%s => %s\n", i.next(), result.get());
- }
- } catch (InterruptedException e) {
- throw new QueryException(e);
- } catch (ExecutionException e) {
- throw new QueryException(e);
- }
- }
-
-
- @Override
- public void notify(Object r) {
- System.out.printf("out = %s\n", r);
- }
-
- public static class InterpreterException extends Exception {
- private InterpreterException(Throwable throwable) {
- super(throwable);
- }
- }
-
- public static class SetupException extends InterpreterException {
- private SetupException(Throwable throwable) {
- super(throwable);
- }
- }
-
- public static class QueryException extends InterpreterException {
- private QueryException(Throwable throwable) {
- super(throwable);
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Arg.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Arg.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Arg.java
deleted file mode 100644
index f7c433a..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Arg.java
+++ /dev/null
@@ -1,132 +0,0 @@
-package org.apache.drill.plan.ast;
-
-import com.google.common.base.CharMatcher;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 10/12/12 Time: 11:40 PM To change this template
- * use File | Settings | File Templates.
- */
-public class Arg {
- private static final CharMatcher quotes = CharMatcher.is('"');
- private static final CharMatcher percent = CharMatcher.is('%');
-
- public static Arg createString(String s) {
- return new QuotedString(s);
- }
-
- public static Arg createNumber(String n) {
- return new Number(Double.parseDouble(n));
- }
-
- public static Arg createSymbol(String s) {
- return new Symbol(Integer.parseInt(percent.trimLeadingFrom(s)));
- }
-
- public static Arg createLong(String s) {
- return new Number(Long.parseLong(s.substring(2), 16));
- }
-
- public static Arg createBoolean(String b) {
- return new BooleanConstant(Boolean.parseBoolean(b));
- }
-
- public Symbol asSymbol() {
- return (Symbol) this;
- }
-
- public String asString() {
- return ((QuotedString) this).s;
- }
-
- public static class QuotedString extends Arg {
- private String s;
-
- public QuotedString(String s) {
- this.s = quotes.trimFrom(quotes.trimFrom(s));
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- if (!(o instanceof QuotedString)) return false;
-
- QuotedString that = (QuotedString) o;
-
- return !(s != null ? !s.equals(that.s) : that.s != null);
-
- }
-
- @Override
- public int hashCode() {
- return s != null ? s.hashCode() : 0;
- }
- }
-
- public static class BooleanConstant extends Arg {
- private boolean v;
-
- public BooleanConstant(boolean b) {
- v = b;
- }
-
- @Override
- public boolean equals(Object o) {
- return this == o || o instanceof BooleanConstant && v == ((BooleanConstant) o).v;
- }
-
- @Override
- public int hashCode() {
- return (v ? 1 : 0);
- }
- }
-
- public static class Number extends Arg {
- private double value;
-
- public Number(double v) {
- value = v;
- }
-
- public double doubleValue() {
- return value;
- }
-
- @Override
- public boolean equals(Object o) {
- return this == o || o instanceof Number && Double.compare(((Number) o).value, value) == 0;
- }
-
- @Override
- public int hashCode() {
- long temp = value != +0.0d ? Double.doubleToLongBits(value) : 0L;
- return (int) (temp ^ (temp >>> 32));
- }
- }
-
- public static class Symbol extends Arg {
- private int slot;
-
- public Symbol(int slot) {
- this.slot = slot;
- }
-
- public int getSlot() {
- return slot;
- }
-
- public int getInt() {
- return slot;
- }
-
- @Override
- public boolean equals(Object o) {
- if (this == o) return true;
- return o instanceof Symbol && slot == ((Symbol) o).slot;
- }
-
- @Override
- public int hashCode() {
- return slot;
- }
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/LogicalPlanParseException.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/LogicalPlanParseException.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/LogicalPlanParseException.java
deleted file mode 100644
index 5e8a547..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/LogicalPlanParseException.java
+++ /dev/null
@@ -1,11 +0,0 @@
-package org.apache.drill.plan.ast;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 10/12/12 Time: 11:25 PM To change this template
- * use File | Settings | File Templates.
- */
-public class LogicalPlanParseException extends RuntimeException {
- public LogicalPlanParseException(String msg, Throwable cause) {
- super(msg, cause);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Op.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Op.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Op.java
deleted file mode 100644
index e64414f..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Op.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package org.apache.drill.plan.ast;
-
-import java.util.List;
-
-/**
-* Created with IntelliJ IDEA. User: tdunning Date: 10/12/12 Time: 11:23 PM To change this template
-* use File | Settings | File Templates.
-*/
-public class Op {
- private String op;
-
- private List<Arg> inputs;
- private List<Arg> outputs;
-
-
- public static Op create(String op, List<Arg> inputs, List<Arg> outputs) {
- Op r = new Op();
- r.op = op;
- r.inputs = inputs;
- r.outputs = outputs;
- return r;
- }
-
- public List<Arg> getInputs() {
- return inputs;
- }
-
- public String getOp() {
- return op;
- }
-
- public List<Arg> getOutputs() {
- return outputs;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Plan.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Plan.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Plan.java
deleted file mode 100644
index f0253fd..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/ast/Plan.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.apache.drill.plan.ast;
-
-import com.google.common.collect.Lists;
-import com.google.common.collect.Sets;
-
-import java.util.Collection;
-import java.util.List;
-import java.util.Set;
-
-/**
- * Represents an SSA plan. No meaning is attached to any of the operators, nor is the
- * mechanism for connected inputs and outputs defined.
- */
-public class Plan {
- private List<Op> statements = Lists.newArrayList();
-
- public static Plan create(Op first) {
- Plan r = new Plan();
- return r.add(first);
- }
-
- public Plan add(Op next) {
- if (next != null) {
- statements.add(next);
- }
- return this;
- }
-
- public List<Op> getStatements() {
- return statements;
- }
-
- /**
- * Returns a collection of the outputs in a plan that are never consumed.
- * @return A collection of Arg's that are used as outputs but never as inputs.
- */
- public Collection<Arg> getOutputs() {
- Set<Arg> outputs = Sets.newHashSet();
-
- for (Op op : statements) {
- outputs.addAll(op.getOutputs());
- }
-
- for (Op op : statements) {
- outputs.removeAll(op.getInputs());
- }
-
- return outputs;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Consumer.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Consumer.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Consumer.java
deleted file mode 100644
index fe54092..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Consumer.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonIgnore;
-import com.fasterxml.jackson.annotation.JsonTypeInfo;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-
-/**
- * Created with IntelliJ IDEA. User: tdunning Date: 11/15/12 Time: 5:43 PM To change this template
- * use File | Settings | File Templates.
- */
-@JsonTypeInfo(use= JsonTypeInfo.Id.NAME, include= JsonTypeInfo.As.PROPERTY, property="type")
- public abstract class Consumer {
- public abstract void push(Tuple t) throws InvocationTargetException, IOException;
-
- public void connect(Consumer out) {
- throw new UnsupportedOperationException("Must over-ride initialize in non-source class");
- }
-
- public void start() throws IOException {
- // by default do nothing
- }
-
- public void end() throws InvocationTargetException, IOException {
- // by default do nothing
- }
-
- @JsonIgnore
- public Object getAggregate() {
- throw new UnsupportedOperationException("Not an aggregator");
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Explode.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Explode.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Explode.java
deleted file mode 100644
index f6e1063..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Explode.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.gson.JsonArray;
-import com.google.gson.JsonObject;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-
-@JsonTypeName("explode")
-public class Explode extends Consumer {
- private String source;
- private String target;
- private Consumer flow;
-
- public Explode(JsonObject spec) throws InvocationTargetException, ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException {
- source = spec.get("source").getAsString();
- target = spec.get("target").getAsString();
-
- // this flow has to be an aggregator-flow. This might happen because it is a sequence
- // whose last element is an aggregator.
- flow = Utils.create(spec.get("do").getAsJsonObject());
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- Object x = t.get(source);
- if (!(x instanceof Iterable)) {
- throw new IllegalArgumentException("Wanted Iterable, got %s" + x.getClass());
- }
-
- flow.start();
- Iterable<Tuple> data = (Iterable<Tuple>) x;
- for (Tuple tuple : data) {
- flow.push(tuple);
- }
- flow.end();
-
- t.put(target, flow.getAggregate());
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Expression.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Expression.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Expression.java
deleted file mode 100644
index d1a6fed..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Expression.java
+++ /dev/null
@@ -1,70 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.base.Splitter;
-import com.google.common.collect.Iterables;
-import com.google.common.collect.Lists;
-import com.google.gson.JsonObject;
-import org.codehaus.janino.CompileException;
-import org.codehaus.janino.ExpressionEvaluator;
-import org.codehaus.janino.Parser;
-import org.codehaus.janino.Scanner;
-
-import java.lang.reflect.InvocationTargetException;
-import java.util.List;
-
-/**
-* Created with IntelliJ IDEA.
-* User: tdunning
-* Date: 11/19/12
-* Time: 4:43 PM
-* To change this template use File | Settings | File Templates.
-*/
-class Expression<T> {
- private static Splitter onComma = Splitter.on(",");
- private JsonObject spec;
- private Class<? extends T> returnType;
-
- private ExpressionEvaluator expression;
- private String[] vars;
-
- public Expression(String expressionField, JsonObject formula, Class<? extends T> returnType) throws ClassNotFoundException, Scanner.ScanException, CompileException, Parser.ParseException {
- this.spec = formula;
- this.returnType = returnType;
- List<Class> types = Lists.newArrayList();
- vars = Iterables.toArray(onComma.split(formula.get("vars").getAsString()), String.class);
- String typeNames = formula.get("types").getAsString();
- if (typeNames != null) {
- for (String typeName : onComma.split(typeNames)) {
- if (typeName.equals("double")) {
- types.add(double.class);
- } else if (typeName.equals("int")) {
- types.add(int.class);
- } else if (typeName.equals("String")) {
- types.add(int.class);
- } else {
- types.add(Class.forName(typeName));
- }
- }
- } else {
- for (String var : vars) {
- types.add(double.class);
- }
- }
-
- expression = new ExpressionEvaluator(
- formula.get(expressionField).getAsString(),
- returnType,
- vars,
- Iterables.toArray(types, Class.class)
- );
- }
-
- public T eval(Tuple t) throws InvocationTargetException {
- List<Object> values = Lists.newArrayList();
- for (String var : vars) {
- values.add(t.get(var));
- }
- return (T) expression.evaluate(values.toArray());
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Filter.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Filter.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Filter.java
deleted file mode 100644
index 8f09419..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/Filter.java
+++ /dev/null
@@ -1,33 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.gson.JsonObject;
-import org.codehaus.janino.CompileException;
-import org.codehaus.janino.Parser;
-import org.codehaus.janino.Scanner;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-
-@JsonTypeName("filter")
-public class Filter extends Consumer {
- private Consumer out;
- private Expression<Boolean> expression;
-
- public Filter(JsonObject spec) throws Scanner.ScanException, CompileException, Parser.ParseException, ClassNotFoundException {
- expression = new Expression<Boolean>("if", spec, Boolean.class);
- }
-
- @Override
- public void connect(Consumer out) {
- this.out = out;
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- if (expression.eval(t)) {
- out.push(t);
- }
- }
-
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/GroupBy.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/GroupBy.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/GroupBy.java
deleted file mode 100644
index 8c85aee..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/GroupBy.java
+++ /dev/null
@@ -1,53 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.fasterxml.jackson.annotation.JsonProperty;
-import com.fasterxml.jackson.annotation.JsonTypeName;
-import com.google.common.collect.*;
-import com.google.gson.JsonObject;
-
-import java.io.IOException;
-import java.lang.reflect.InvocationTargetException;
-
-@JsonTypeName("group")
-public class GroupBy extends Consumer {
- private String key;
- private String target;
-
- private Multimap<String, Tuple> groups = HashMultimap.create();
- private Consumer out;
-
- public GroupBy(JsonObject spec) {
- key = spec.get("by").getAsString();
- target = spec.get("as").getAsString();
- }
-
- @Override
- public void connect(Consumer out) {
- this.out = out;
- }
-
- @Override
- public void push(Tuple t) throws InvocationTargetException, IOException {
- String keyValue = (String) t.get(key);
- groups.put(keyValue, t);
- }
-
- @Override
- public void end() throws InvocationTargetException, IOException {
- for (String keyValue : groups.keySet()) {
- Tuple r = new MapTuple();
- r.put(key, keyValue);
- r.put(target, groups.get(keyValue));
- out.push(r);
- }
- }
-
- public String getKey() {
- return key;
- }
-
- @JsonProperty("as")
- public String getTarget() {
- return target;
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/MapTuple.java
----------------------------------------------------------------------
diff --git a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/MapTuple.java b/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/MapTuple.java
deleted file mode 100644
index c306e27..0000000
--- a/sandbox/plan-parser/src/main/java/org/apache/drill/plan/json/MapTuple.java
+++ /dev/null
@@ -1,39 +0,0 @@
-package org.apache.drill.plan.json;
-
-import com.google.common.collect.Maps;
-
-import java.util.HashMap;
-import java.util.Iterator;
-import java.util.Map;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 11/19/12
- * Time: 5:03 PM
- * To change this template use File | Settings | File Templates.
- */
-public class MapTuple extends HashMap<String, Object> implements Tuple {
- public MapTuple(Iterable<String> keys, Iterable<String> values) {
- Iterator<String> i = keys.iterator();
- Iterator<String> j = values.iterator();
- while (i.hasNext()) {
- String v = j.next();
- Object x;
- try {
- x = Integer.parseInt(v);
- } catch (NumberFormatException e) {
- try {
- x = Double.parseDouble(v);
- } catch (NumberFormatException ex) {
- x = v;
- }
- }
- put(i.next(), x);
- }
- }
-
- public MapTuple() {
- super();
- }
-}
[19/29] git commit: DRILL-223, add INSTALL.md and update README.md
Posted by ja...@apache.org.
DRILL-223, add INSTALL.md and update README.md
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/511eb0ee
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/511eb0ee
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/511eb0ee
Branch: refs/heads/master
Commit: 511eb0ee9e70b8c0f612d73e9f1ec569c2737d69
Parents: 78f6e58
Author: Jacques Nadeau <ja...@apache.org>
Authored: Tue Sep 10 14:49:02 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 14:49:02 2013 -0700
----------------------------------------------------------------------
INSTALL.md | 45 +++++++++++++++++++++++++++++++++++++++++++++
README.md | 21 +++------------------
2 files changed, 48 insertions(+), 18 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/511eb0ee/INSTALL.md
----------------------------------------------------------------------
diff --git a/INSTALL.md b/INSTALL.md
new file mode 100644
index 0000000..3faf7e4
--- /dev/null
+++ b/INSTALL.md
@@ -0,0 +1,45 @@
+# How to build and run Apache Drill
+
+## Prerequisites
+
+Currently, the Apache Drill build process is known to work on Linux, Windows and OSX. To build, you need to have the following software installed on your system to successfully complete a build.
+ * Java 7+
+ * protoc 2.5.x compiler
+ * Maven 3.0+
+
+## Confirm settings
+ # protoc --version
+ libprotoc 2.5.0
+
+ # java -version
+ java version "1.7.0_09"
+ Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
+ Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
+
+ # mvn --version
+ Apache Maven 3.0.3 (r1075438; 2011-02-28 09:31:09-0800)
+
+## Checkout
+
+ git clone https://github.com/apache/incubator-drill.git
+
+## Build
+
+ cd incubator-drill
+ mvn clean install
+
+## Start SQLLine
+
+ ./sqlline -u jdbc:drill:schema=parquet-local -n admin -p admin
+
+## Run a query
+
+ SELECT
+ _MAP['R_REGIONKEY'] AS region_key,
+ _MAP['R_NAME'] AS name, _MAP['R_COMMENT'] AS comment
+ FROM "sample-data/region.parquet";
+
+## More information
+
+For more information including how to run a Apache Drill cluster, visit the [Apache Drill Wiki](https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki)
+
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/511eb0ee/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 0947187..bfc779d 100644
--- a/README.md
+++ b/README.md
@@ -6,26 +6,12 @@ Apache Drill is a distributed mpp query layer that supports SQL and alternative
## Milestone 1
Milestone 1 is focused on providing a technology preview for developers. It offers the ability to query JSON and Parquet columnar data storage formats using ANSI compliant SQL. It also provides the ability to run queries in distributed execution mode utilizing Apache Zookeeper as a cluster coordination service.
-
## Quickstart
-To build, you need to have Java 7, protoc 2.5.x and maven 3.0 installed on your build system. Currently, the Apache Drill build process is known to work on Linux and OSX.
-
-To Build:
-
- git clone https://github.com/apache/incubator-drill.git
- cd incubator-drill
- mvn clean install
- ./sqlline -u jdbc:drill:schema=parquet-local -n admin -p admin
-This starts up the sqlline JDBC CLI interface. From here you can run various types of queries such as:
-
- SELECT
- _MAP['R_REGIONKEY'] AS region_key,
- _MAP['R_NAME'] AS name, _MAP['R_COMMENT'] AS comment
- FROM "sample-data/region.parquet";
+Please read INSTALL.md for setting up and running Apache Drill.
## More Information
-Please see the [Apache Drill Website](http://incubator.apache.org/drill/) for more information including:
+Please see the [Apache Drill Website](http://incubator.apache.org/drill/) or the [Apache Drill Wiki](https://cwiki.apache.org/confluence/display/DRILL/Apache+Drill+Wiki) for more information including:
* Remote Execution Installation Instructions
* Information about how to submit logical and distributed physical plans
@@ -34,5 +20,4 @@ Please see the [Apache Drill Website](http://incubator.apache.org/drill/) for mo
## Join the community!
-Apache Drill is an Apache Foundation project and is seeking all types of contributions. Please say hello on the Apache Drill mailing list or join our weekly Google Hangouts for more information. (More information can be found at the Apache Drill website).
-
+Apache Drill is an Apache Foundation project and is seeking all types of contributions. Please say hello on the Apache Drill mailing list or join our weekly Google Hangouts for more information. (More information can be found at the Apache Drill website).
\ No newline at end of file
[11/29] DRILL-221 Add license header to all files
Posted by ja...@apache.org.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractStore.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractStore.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractStore.java
index 2f25d99..41fbe57 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractStore.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/AbstractStore.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Exchange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Exchange.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Exchange.java
index 6716a8f..80cf5a2 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Exchange.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Exchange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/ExchangeCost.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/ExchangeCost.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/ExchangeCost.java
index 9e94f06..8158a2e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/ExchangeCost.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/ExchangeCost.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.OperatorCost;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentLeaf.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentLeaf.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentLeaf.java
index 522ef7b..acb6840 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentLeaf.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentLeaf.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
/**
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentRoot.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentRoot.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentRoot.java
index 66147cc..f4a358c 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentRoot.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/FragmentRoot.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java
index fdd81d1..b4a85df 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/GroupScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/HasAffinity.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/HasAffinity.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/HasAffinity.java
index 1a9a3a9..faf0829 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/HasAffinity.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/HasAffinity.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Leaf.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Leaf.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Leaf.java
index 7764739..c554868 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Leaf.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Leaf.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
/**
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
index 66841b8..6872595 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperatorUtil.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperatorUtil.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperatorUtil.java
index d6e2fc4..a5dbd6a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperatorUtil.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalOperatorUtil.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.common.config.CommonConstants;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalVisitor.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalVisitor.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalVisitor.java
index 97e6795..a36b65a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalVisitor.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/PhysicalVisitor.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.config.Filter;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Receiver.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Receiver.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Receiver.java
index cd4cb4a..ef6535f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Receiver.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Receiver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Root.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Root.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Root.java
index 7adef63..bd280ae 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Root.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Root.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
/**
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Scan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Scan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Scan.java
index f56e9f9..63af5eb 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Scan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Scan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.ReadEntry;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Sender.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Sender.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Sender.java
index 77d3f69..00d94eb 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Sender.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Sender.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Size.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Size.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Size.java
index 7bc6f93..caf331f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Size.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Size.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
public class Size {
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Store.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Store.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Store.java
index 9b3a812..beefb9b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Store.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/Store.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/SubScan.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/SubScan.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/SubScan.java
index 9d00c82..5fe3b99 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/SubScan.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/base/SubScan.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.base;
import org.apache.drill.exec.physical.ReadEntry;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java
index 4af4243..aba1747 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Filter.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashPartitionSender.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashPartitionSender.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashPartitionSender.java
index e53db43..702c787 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashPartitionSender.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashPartitionSender.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashToRandomExchange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashToRandomExchange.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashToRandomExchange.java
index 4600556..9d5f3d6 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashToRandomExchange.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/HashToRandomExchange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.beans.Transient;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MergeJoinPOP.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MergeJoinPOP.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MergeJoinPOP.java
index b234f15..76916ea 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MergeJoinPOP.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/MergeJoinPOP.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.config;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/PartitionRange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/PartitionRange.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/PartitionRange.java
index eb77eeb..00bb328 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/PartitionRange.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/PartitionRange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import org.apache.drill.common.expression.LogicalExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Project.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Project.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Project.java
index 1719735..7ab0620 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Project.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Project.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RandomReceiver.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RandomReceiver.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RandomReceiver.java
index 117da0b..676de38 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RandomReceiver.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RandomReceiver.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RangeSender.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RangeSender.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RangeSender.java
index 7d64dba..08a6c1b 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RangeSender.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/RangeSender.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Screen.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Screen.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Screen.java
index b51f7a3..654d1f7 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Screen.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Screen.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SelectionVectorRemover.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SelectionVectorRemover.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SelectionVectorRemover.java
index 2feae02..7361503 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SelectionVectorRemover.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SelectionVectorRemover.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import org.apache.drill.exec.physical.OperatorCost;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SingleSender.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SingleSender.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SingleSender.java
index 79d937a..9894164 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SingleSender.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/SingleSender.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Sort.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Sort.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Sort.java
index e4ece6b..206e7cd 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Sort.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Sort.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/StreamingAggregate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/StreamingAggregate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/StreamingAggregate.java
index be63a1a..2dcdce1 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/StreamingAggregate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/StreamingAggregate.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import org.apache.drill.common.logical.data.NamedExpression;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Union.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Union.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Union.java
index 73ac9b0..fcefc37 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Union.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/Union.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.config;
import com.fasterxml.jackson.annotation.JsonCreator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/UnionExchange.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/UnionExchange.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/UnionExchange.java
index de40b96..78270d8 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/UnionExchange.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/config/UnionExchange.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.config;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/BatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/BatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/BatchCreator.java
index 9a7df56..79f5f13 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/BatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/BatchCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ImplCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ImplCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ImplCreator.java
index 9984454..94acc0e 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ImplCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ImplCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -14,7 +14,7 @@
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.Collections;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/OutputMutator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/OutputMutator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/OutputMutator.java
index 3e9f1e2..6c111bb 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/OutputMutator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/OutputMutator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import org.apache.drill.exec.exception.SchemaChangeException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/PhysicalConfig.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/PhysicalConfig.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/PhysicalConfig.java
index 9995bc2..8495536 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/PhysicalConfig.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/PhysicalConfig.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.lang.annotation.ElementType;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RandomReceiverCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RandomReceiverCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RandomReceiverCreator.java
index 4b991f8..966c221 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RandomReceiverCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RandomReceiverCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootCreator.java
index 80def05..0bae6fe 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootExec.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootExec.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootExec.java
index 9bcfe10..fcc10aa 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootExec.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/RootExec.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java
index a02e5f7..10d595a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScanBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScreenCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScreenCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScreenCreator.java
index b66921d..4d1e3ce 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScreenCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/ScreenCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/SingleSenderCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/SingleSenderCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/SingleSenderCreator.java
index 69455a1..ca9929f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/SingleSenderCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/SingleSenderCreator.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import io.netty.buffer.ByteBuf;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WireRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WireRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WireRecordBatch.java
index c128504..5f8b416 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WireRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/WireRecordBatch.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/**
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
@@ -6,15 +6,15 @@
* to you under the Apache License, Version 2.0 (the
* "License"); you may not use this file except in compliance
* with the License. You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- ******************************************************************************/
+ */
package org.apache.drill.exec.physical.impl;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatch.java
index 806239b..8618b7f 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatchCreator.java
index 5a0bc27..36344f9 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggBatchCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggTemplate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggTemplate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggTemplate.java
index fc88c70..a8f39e3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggTemplate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/AggTemplate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import javax.inject.Named;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/Aggregator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/Aggregator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/Aggregator.java
index fdda8c8..2683045 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/Aggregator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/Aggregator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import org.apache.drill.exec.compile.TemplateClassDefinition;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/BatchIterator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/BatchIterator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/BatchIterator.java
index 2f9cabe..feb4489 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/BatchIterator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/BatchIterator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import org.apache.drill.exec.record.RecordBatch.IterOutcome;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java
index 77dd682..34845b3 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/aggregate/InternalBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.aggregate;
import java.util.Iterator;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvalSetupException.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvalSetupException.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvalSetupException.java
index f547989..fa92ab0 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvalSetupException.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvalSetupException.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
public class EvalSetupException extends Exception{
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvaluationPredicate.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvaluationPredicate.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvaluationPredicate.java
index 862e42c..dd0e263 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvaluationPredicate.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/EvaluationPredicate.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import org.apache.drill.exec.record.selection.SelectionVector2;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterBatchCreator.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterBatchCreator.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterBatchCreator.java
index df2518b..5f2bc4d 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterBatchCreator.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterBatchCreator.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import java.util.List;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java
index 806ead6..5f9a06a 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterRecordBatch.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import java.io.IOException;
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/479ddad7/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterSignature.java
----------------------------------------------------------------------
diff --git a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterSignature.java b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterSignature.java
index f085cd3..39519b4 100644
--- a/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterSignature.java
+++ b/exec/java-exec/src/main/java/org/apache/drill/exec/physical/impl/filter/FilterSignature.java
@@ -1,3 +1,20 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.drill.exec.physical.impl.filter;
import javax.inject.Named;
[20/29] git commit: DRILL-225: Add disclaimer to source release.
Posted by ja...@apache.org.
DRILL-225: Add disclaimer to source release.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/f526e4f3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/f526e4f3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/f526e4f3
Branch: refs/heads/master
Commit: f526e4f31a33351df4344bebb95f41a9e1e5353f
Parents: 511eb0e
Author: Nachiketa Mishra <nm...@symora.com>
Authored: Tue Sep 10 14:52:20 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 14:52:20 2013 -0700
----------------------------------------------------------------------
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/f526e4f3/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index bfc779d..1e489e1 100644
--- a/README.md
+++ b/README.md
@@ -20,4 +20,7 @@ Please see the [Apache Drill Website](http://incubator.apache.org/drill/) or the
## Join the community!
-Apache Drill is an Apache Foundation project and is seeking all types of contributions. Please say hello on the Apache Drill mailing list or join our weekly Google Hangouts for more information. (More information can be found at the Apache Drill website).
\ No newline at end of file
+Apache Drill is an Apache Foundation project and is seeking all types of contributions. Please say hello on the Apache Drill mailing list or join our weekly Google Hangouts for more information. (More information can be found at the Apache Drill website).
+
+## Disclaimer
+Apache Drill is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
\ No newline at end of file
[29/29] git commit: DRILL-221,
part 3. More license updates. Automatically run Rat plugin with
appropriate excludes. Move Synth-log to sandbox until it is part of main mvn
build to avoid weird RAT problems.
Posted by ja...@apache.org.
DRILL-221, part 3. More license updates. Automatically run Rat plugin with appropriate excludes. Move Synth-log to sandbox until it is part of main mvn build to avoid weird RAT problems.
Project: http://git-wip-us.apache.org/repos/asf/incubator-drill/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-drill/commit/43d71f10
Tree: http://git-wip-us.apache.org/repos/asf/incubator-drill/tree/43d71f10
Diff: http://git-wip-us.apache.org/repos/asf/incubator-drill/diff/43d71f10
Branch: refs/heads/master
Commit: 43d71f1061face8eac853d8b72009b775362a5de
Parents: 0a5e682
Author: Jacques Nadeau <ja...@apache.org>
Authored: Tue Sep 10 19:02:19 2013 -0700
Committer: Jacques Nadeau <ja...@apache.org>
Committed: Tue Sep 10 19:02:19 2013 -0700
----------------------------------------------------------------------
LICENSE | 17 +
NOTICE | 4 +-
common/pom.xml | 2 +-
common/src/main/protobuf/Types.proto | 16 +
common/src/main/resources/drill-default.conf | 16 +
common/src/main/resources/drill-module.conf | 18 +-
common/src/test/resources/drill-module.conf | 16 +
common/src/test/resources/logback.xml | 12 +-
contrib/pom.xml | 2 +-
contrib/sqlline/pom.xml | 2 +-
contrib/storage-hbase/pom.xml | 2 +-
contrib/synth-log/README.md | 55 -
contrib/synth-log/pom.xml | 83 -
.../apache/drill/synth/ChineseRestaurant.java | 118 -
.../org/apache/drill/synth/LogGenerator.java | 74 -
.../java/org/apache/drill/synth/LogLine.java | 54 -
.../java/org/apache/drill/synth/LongTail.java | 62 -
.../main/java/org/apache/drill/synth/Main.java | 74 -
.../org/apache/drill/synth/TermGenerator.java | 56 -
.../main/java/org/apache/drill/synth/User.java | 74 -
.../org/apache/drill/synth/WordGenerator.java | 124 -
contrib/synth-log/src/main/resources/geo-codes | 297 -
.../src/main/resources/log4j.properties | 11 -
.../synth-log/src/main/resources/other-words | 117184 ----------------
.../src/main/resources/word-frequency-seed | 5003 -
.../apache/drill/synth/LogGeneratorTest.java | 37 -
.../apache/drill/synth/TermGeneratorTest.java | 97 -
.../apache/drill/synth/WordGeneratorTest.java | 39 -
distribution/pom.xml | 16 +-
distribution/src/assemble/bin.xml | 17 +
distribution/src/deb/control/conffiles | 17 +-
distribution/src/resources/logback.xml | 10 +
exec/bufferl/pom.xml | 2 +-
exec/java-exec/pom.xml | 2 +-
exec/java-exec/src/main/codegen/config.fmpp | 16 +
exec/java-exec/src/main/codegen/data/Casts.tdd | 18 +-
.../src/main/codegen/data/CompareTypes.tdd | 17 +-
.../src/main/codegen/data/ValueVectorTypes.tdd | 16 +
.../src/main/codegen/includes/vv_imports.ftl | 11 +
exec/java-exec/src/main/resources/logback.xml | 16 +
exec/java-exec/src/main/sh/runbit | 14 +
exec/java-exec/src/test/resources/logback.xml | 18 +-
exec/java-exec/src/test/sh/logback.xml | 16 +
exec/java-exec/src/test/sh/runbit | 15 +
exec/pom.xml | 2 +-
exec/ref/pom.xml | 2 +-
exec/ref/src/main/resources/logback-test.xml | 12 +-
exec/ref/src/test/resources/logback.xml | 12 +-
pom.xml | 70 +-
sandbox/synth-log/README.md | 55 +
sandbox/synth-log/pom.xml | 83 +
.../apache/drill/synth/ChineseRestaurant.java | 118 +
.../org/apache/drill/synth/LogGenerator.java | 74 +
.../java/org/apache/drill/synth/LogLine.java | 54 +
.../java/org/apache/drill/synth/LongTail.java | 62 +
.../main/java/org/apache/drill/synth/Main.java | 74 +
.../org/apache/drill/synth/TermGenerator.java | 56 +
.../main/java/org/apache/drill/synth/User.java | 74 +
.../org/apache/drill/synth/WordGenerator.java | 124 +
sandbox/synth-log/src/main/resources/geo-codes | 297 +
.../src/main/resources/log4j.properties | 27 +
.../synth-log/src/main/resources/other-words | 117184 ++++++++++++++++
.../src/main/resources/word-frequency-seed | 5003 +
.../apache/drill/synth/LogGeneratorTest.java | 37 +
.../apache/drill/synth/TermGeneratorTest.java | 97 +
.../apache/drill/synth/WordGeneratorTest.java | 39 +
sandbox/web-frontend/drill.js | 32 +-
sqlparser/pom.xml | 45 +-
sqlparser/src/test/resources/logback.xml | 16 +
69 files changed, 123901 insertions(+), 123518 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/LICENSE
----------------------------------------------------------------------
diff --git a/LICENSE b/LICENSE
index f3a6a10..5234110 100644
--- a/LICENSE
+++ b/LICENSE
@@ -290,6 +290,23 @@ For
The Apache License, Version 2.0
+For
+ Netty/BufferL Little Endian fork of Netty buffers implementation
+
+ Copyright 2012 The Netty Project
+
+ The Netty Project licenses this file to you under the Apache License,
+ version 2.0 (the "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at:
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+ WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+ License for the specific language governing permissions and limitations
+ under the License.
+
For
AntLR Parser Generator
ANTLR StringTemplate
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/NOTICE
----------------------------------------------------------------------
diff --git a/NOTICE b/NOTICE
index 4a98a67..4984ac0 100644
--- a/NOTICE
+++ b/NOTICE
@@ -3,5 +3,7 @@
Copyright 2013 The Apache Software Foundation
==============================================================
-This product includes software developed by
+This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
+
+Please see LICENSE for additional copyright and licensing information.
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/pom.xml
----------------------------------------------------------------------
diff --git a/common/pom.xml b/common/pom.xml
index d801aa8..99d37e7 100644
--- a/common/pom.xml
+++ b/common/pom.xml
@@ -23,7 +23,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>common</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/src/main/protobuf/Types.proto
----------------------------------------------------------------------
diff --git a/common/src/main/protobuf/Types.proto b/common/src/main/protobuf/Types.proto
index 067072a..3434110 100644
--- a/common/src/main/protobuf/Types.proto
+++ b/common/src/main/protobuf/Types.proto
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http:// www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
package common;
option java_package = "org.apache.drill.common.types";
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/src/main/resources/drill-default.conf
----------------------------------------------------------------------
diff --git a/common/src/main/resources/drill-default.conf b/common/src/main/resources/drill-default.conf
index 760a6d2..a7261c0 100644
--- a/common/src/main/resources/drill-default.conf
+++ b/common/src/main/resources/drill-default.conf
@@ -1,3 +1,19 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http:// www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
drill: {
logical: {
operator.packages: ["org.apache.drill.common.logical.data"],
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/src/main/resources/drill-module.conf
----------------------------------------------------------------------
diff --git a/common/src/main/resources/drill-module.conf b/common/src/main/resources/drill-module.conf
index 2b265ea..b81ec6f 100644
--- a/common/src/main/resources/drill-module.conf
+++ b/common/src/main/resources/drill-module.conf
@@ -1,4 +1,20 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http:// www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
// This file tells Drill to consider this module when class path scanning.
// This file can also include any supplementary configuration information.
// This file is in HOCON format, see https://github.com/typesafehub/config/blob/master/HOCON.md for more information.
-drill.exec.storage.packages += org.apache.drill.exec.store.mock
\ No newline at end of file
+drill.exec.storage.packages += org.apache.drill.exec.store.mock
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/src/test/resources/drill-module.conf
----------------------------------------------------------------------
diff --git a/common/src/test/resources/drill-module.conf b/common/src/test/resources/drill-module.conf
index 0e2c84e..55e499d 100644
--- a/common/src/test/resources/drill-module.conf
+++ b/common/src/test/resources/drill-module.conf
@@ -1 +1,17 @@
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements. See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership. The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License. You may obtain a copy of the License at
+//
+// http:// www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
drill.logical.storage.packages += "org.apache.drill.storage"
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/common/src/test/resources/logback.xml
----------------------------------------------------------------------
diff --git a/common/src/test/resources/logback.xml b/common/src/test/resources/logback.xml
index b79b811..782f17f 100644
--- a/common/src/test/resources/logback.xml
+++ b/common/src/test/resources/logback.xml
@@ -1,4 +1,14 @@
<?xml version="1.0" encoding="UTF-8" ?>
+<!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor
+ license agreements. See the NOTICE file distributed with this work for additional
+ information regarding copyright ownership. The ASF licenses this file to
+ You under the Apache License, Version 2.0 (the "License"); you may not use
+ this file except in compliance with the License. You may obtain a copy of
+ the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required
+ by applicable law or agreed to in writing, software distributed under the
+ License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied. See the License for the specific
+ language governing permissions and limitations under the License. -->
<configuration>
<appender name="SOCKET" class="de.huxhorn.lilith.logback.appender.ClassicMultiplexSocketAppender">
@@ -42,4 +52,4 @@
<!-- <appender-ref ref="FILE" /> -->
</root>
-</configuration>
\ No newline at end of file
+</configuration>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/pom.xml b/contrib/pom.xml
index 3a9fb20..8eaa664 100644
--- a/contrib/pom.xml
+++ b/contrib/pom.xml
@@ -21,7 +21,7 @@
<parent>
<artifactId>drill-root</artifactId>
<groupId>org.apache.drill</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<groupId>org.apache.drill.contrib</groupId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/sqlline/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/sqlline/pom.xml b/contrib/sqlline/pom.xml
index 060df14..4555551 100644
--- a/contrib/sqlline/pom.xml
+++ b/contrib/sqlline/pom.xml
@@ -23,7 +23,7 @@
<parent>
<artifactId>contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>sqlline</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/storage-hbase/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/storage-hbase/pom.xml b/contrib/storage-hbase/pom.xml
index 9a538ef..3374e9c 100644
--- a/contrib/storage-hbase/pom.xml
+++ b/contrib/storage-hbase/pom.xml
@@ -21,7 +21,7 @@
<parent>
<artifactId>contrib-parent</artifactId>
<groupId>org.apache.drill.contrib</groupId>
- <version>1.0.0-m1-SNAPSHOT</version>
+ <version>1.0.0-m1-incubating-SNAPSHOT</version>
</parent>
<artifactId>storage-hbase</artifactId>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/README.md
----------------------------------------------------------------------
diff --git a/contrib/synth-log/README.md b/contrib/synth-log/README.md
deleted file mode 100644
index b4efc63..0000000
--- a/contrib/synth-log/README.md
+++ /dev/null
@@ -1,55 +0,0 @@
-log-synth
-=========
-
-The basic idea here is to have a random log generator build fairly realistic log files for analysis. The analyses specified here are fairly typical use cases for trying to figure out where the load on a web-site is coming from.
-
-How to Run It
-============
-
-Install Java 7, maven and get this software using git.
-
-On a mac, this can help get the right version of Java
-
- export JAVA_HOME=$(/usr/libexec/java_home)
-
-Then do this to build a jar file with all dependencies included
-
- mvn package
-
-Then use this to write one million log lines into the file "log" and to write the associated user database into the file "users".
-
- java -cp target/log-synth-0.1-SNAPSHOT-jar-with-dependencies.jar org.apache.drill.synth.Main 1M log users
-
-This program will produce a line of output on the standard output for each 10,000 lines of log produced. Each line will contain the number of log lines produced so far and the number of unique users in the user profile database.
-
-
-The Data Source
-==============
-The data source here is a set of heavily biased random numbers to generate traffic sources, response times and queries. In order to give a realistic long-tail experience the data are generated using special random number generators available in the Mahout library.
-
-There are three basic entities involved in the random process that generates these logs that are IP addresses, users and queries. Users have a basic traffic rate and a variable number of users sit behind each IP address. Queries are composed of words which are generated somewhat differently by each user. The response time for each query is determined based on the terms in the queries with a very few terms causing much longer queries than others. Each log line contains an IP address, a user cookie, a query and a response time.
-
-Logs of various sizes can be generated using the generator tools.
-
-The Queries
-==============
-The general goal of the queries is to find out what and/or who is causing long query times and where lots of traffic is coming from.
-
-The questions we would like to answer include:
-
-* What are the top IP addresses by request count?
-* What are the top IP addresses by unique user?
-* What are the most common search terms?
-* What are the most common search terms in the slowest 5% of the queries?
-* What is the daily number of searches, (approximate) number of unique users, (approximate) number of unique IP addresses and distribution of response times (average, min, max, 25, 50 and 75%-iles).
-
-Methods
-========
-The general process for generating log lines is to select a user, possibly one we have not seen before. If the user is new, then we need to select an IP address for the user. Otherwise, we remember the IP address for each user.
-
-Queries have an overall frequency distribution that is long-tailed, but each user has a variation on that distribution. In order to model this, we sample each user's queries from a per-user Pittman-Yor process. In order to make users have similar query term distributions, each user's query term distribution is initialized from a Pittman-Yor process that has already been sampled a number of times.
-
-We also need to maintain an average response time per term. The response time for each query is exponentially distributed with a mean equal to the sum of the average response times for the terms. Response times for words are sampled either from an exponential distribution, from a log-gamma distribution or from a gamma distribution with a moderately low shape parameter so that we can have interestingly long tails for response time.
-
-Users are assigned to IP addresses using a Pittman-Yor process with a discount of 0.9. This gives long-tailed distribution to the number of users per IP address. This results in 90% of all IP addresses having only a single user.
-
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/pom.xml
----------------------------------------------------------------------
diff --git a/contrib/synth-log/pom.xml b/contrib/synth-log/pom.xml
deleted file mode 100644
index b46d869..0000000
--- a/contrib/synth-log/pom.xml
+++ /dev/null
@@ -1,83 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements. See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License. You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <modelVersion>4.0.0</modelVersion>
-
- <groupId>log-synth</groupId>
- <artifactId>log-synth</artifactId>
- <version>0.1-SNAPSHOT</version>
-
- <dependencies>
- <dependency>
- <groupId>org.apache.mahout</groupId>
- <artifactId>mahout-math</artifactId>
- <version>0.8-SNAPSHOT</version>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>4.8.2</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-api</artifactId>
- <version>1.6.6</version>
- </dependency>
- <dependency>
- <groupId>org.slf4j</groupId>
- <artifactId>slf4j-log4j12</artifactId>
- <version>1.6.6</version>
- <scope>runtime</scope>
- </dependency>
- </dependencies>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-assembly-plugin</artifactId>
- <version>2.4</version>
- <configuration>
- <descriptorRefs>
- <descriptorRef>jar-with-dependencies</descriptorRef>
- </descriptorRefs>
- </configuration>
- <executions>
- <execution>
- <id>make-assembly</id>
- <phase>package</phase>
- <!-- bind to the packaging phase -->
- <goals>
- <goal>single</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.0</version>
- <configuration>
- <verbose>true</verbose>
- <compilerVersion>1.7</compilerVersion>
- </configuration>
- </plugin>
- </plugins>
- </build>
-
-</project>
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
deleted file mode 100644
index 54b671b..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/ChineseRestaurant.java
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.base.Preconditions;
-import org.apache.mahout.common.RandomUtils;
-import org.apache.mahout.math.list.DoubleArrayList;
-import org.apache.mahout.math.random.Sampler;
-
-import java.util.Random;
-
-/**
- *
- * Generates samples from a generalized Chinese restaurant process (or Pittman-Yor process).
- *
- * The number of values drawn exactly once will asymptotically be equal to the discount parameter
- * as the total number of draws T increases without bound. The number of unique values sampled will
- * increase as O(alpha * log T) if discount = 0 or O(alpha * T^discount) for discount > 0.
- */
-public final class ChineseRestaurant implements Sampler<Integer> {
- private final double alpha;
- private double weight = 0;
- private double discount = 0;
- private final DoubleArrayList weights = new DoubleArrayList();
- private final Random rand = RandomUtils.getRandom();
-
- /**
- * Constructs a Dirichlet process sampler. This is done by setting discount = 0.
- * @param alpha The strength parameter for the Dirichlet process.
- */
- public ChineseRestaurant(double alpha) {
- this(alpha, 0);
- }
-
- /**
- * Constructs a Pitman-Yor sampler.
- *
- * @param alpha The strength parameter that drives the number of unique values as a function of draws.
- * @param discount The discount parameter that drives the percentage of values that occur once in a large sample.
- */
- public ChineseRestaurant(double alpha, double discount) {
- Preconditions.checkArgument(alpha > 0);
- Preconditions.checkArgument(discount >= 0 && discount <= 1);
- this.alpha = alpha;
- this.discount = discount;
- }
-
- public Integer sample() {
- double u = rand.nextDouble() * (alpha + weight);
- for (int j = 0; j < weights.size(); j++) {
- // select existing options with probability (w_j - d) / (alpha + w)
- if (u < weights.get(j) - discount) {
- weights.set(j, weights.get(j) + 1);
- weight++;
- return j;
- } else {
- u -= weights.get(j) - discount;
- }
- }
-
- // if no existing item selected, pick new item with probability (alpha - d*t) / (alpha + w)
- // where t is number of pre-existing cases
- weights.add(1);
- weight++;
- return weights.size() - 1;
- }
-
- /**
- * @return the number of unique values that have been returned.
- */
- public int size() {
- return weights.size();
- }
-
- /**
- * @return the number draws so far.
- */
- public int count() {
- return (int) weight;
- }
-
- /**
- * @param j Which value to test.
- * @return The number of times that j has been returned so far.
- */
- public int count(int j) {
- Preconditions.checkArgument(j >= 0);
-
- if (j < weights.size()) {
- return (int) weights.get(j);
- } else {
- return 0;
- }
- }
-
- public void setCount(int term, double count) {
- while (weights.size() <= term) {
- weights.add(0);
- }
- weight += (count - weights.get(term));
- weights.set(term, count);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
deleted file mode 100644
index a030501..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogGenerator.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.apache.mahout.math.random.Sampler;
-
-import java.net.Inet4Address;
-import java.net.InetAddress;
-import java.net.UnknownHostException;
-import java.util.Random;
-
-/**
- * Generates kind of realistic log lines consisting of a user id (a cookie), an IP address and a query.
- */
-public class LogGenerator implements Sampler<LogLine> {
- private LongTail<InetAddress> ipGenerator = new LongTail<InetAddress>(1, 0.5) {
- Random gen = new Random();
-
- @Override
- protected InetAddress createThing() {
- int address = gen.nextInt();
- try {
- return Inet4Address.getByAddress(new byte[]{
- (byte) (address >>> 24),
- (byte) (0xff & (address >>> 16)),
- (byte) (0xff & (address >>> 8)),
- (byte) (0xff & (address))
- });
- } catch (UnknownHostException e) {
- throw new RuntimeException("Can't happen with numeric IP address", e);
- }
- }
- };
-
- private WordGenerator words = new WordGenerator("word-frequency-seed", "other-words");
- private TermGenerator terms = new TermGenerator(words, 1, 0.8);
- private TermGenerator geo = new TermGenerator(new WordGenerator(null, "geo-codes"), 10, 0
- );
-
- private LongTail<User> userGenerator = new LongTail<User>(50000, 0) {
- @Override
- protected User createThing() {
- return new User(ipGenerator.sample(), geo, terms);
- }
- };
-
- public Iterable<User> getUsers() {
- return userGenerator.getThings();
- }
-
- public LogLine sample() {
- // pick a user
- return new LogLine(userGenerator.sample());
- }
-
- public int getUserCount() {
- return userGenerator.getThings().size();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
deleted file mode 100644
index d15b53d..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LogLine.java
+++ /dev/null
@@ -1,54 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import java.net.InetAddress;
-import java.util.Formatter;
-import java.util.List;
-
-/**
- * A log line contains a user id, an IP address and a query.
- */
-public class LogLine {
- private InetAddress ip;
- private long cookie;
- private List<String> query;
-
- public LogLine(InetAddress ip, long cookie, List<String> query) {
- this.cookie = cookie;
- this.ip = ip;
- this.query = query;
- }
-
- public LogLine(User user) {
- this(user.getAddress(), user.getCookie(), user.getQuery());
- }
-
- @Override
- public String toString() {
- Formatter r = new Formatter();
- r.format("{cookie:\"%08x\", ip:\"%s\", query:", cookie, ip.getHostAddress());
- String sep = "[";
- for (String term : query) {
- r.format("%s\"%s\"", sep, term);
- sep = ", ";
- }
- r.format("]}");
- return r.toString();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
deleted file mode 100644
index bf88852..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/LongTail.java
+++ /dev/null
@@ -1,62 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.collect.Lists;
-import org.apache.mahout.math.random.Sampler;
-
-import java.util.List;
-
-/**
- * Samples from a set of things based on a long-tailed distribution. This converts
- * the ChineseRestaurant distribution from a distribution over integers into a distribution
- * over more plausible looking things like words.
- */
-public abstract class LongTail<T> implements Sampler<T> {
- private ChineseRestaurant base;
- private List<T> things = Lists.newArrayList();
-
- protected LongTail(double alpha, double discount) {
- base = new ChineseRestaurant(alpha, discount);
- }
-
- public T sample() {
- int n = base.sample();
- while (n >= things.size()) {
- things.add(createThing());
- }
- return things.get(n);
- }
-
- public ChineseRestaurant getBaseDistribution() {
- return base;
- }
-
- protected abstract T createThing();
-
- public List<T> getThings() {
- return things;
- }
-
- public void setThing(int i, T thing) {
- while (things.size() <= i) {
- things.add(null);
- }
- things.set(i, thing);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
deleted file mode 100644
index e95b9a7..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/Main.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-
-import com.google.common.base.Charsets;
-import com.google.common.io.Files;
-
-import java.io.BufferedWriter;
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Create a query log with a specified number of log lines and an associated user profile database.
- * <p/>
- * Command line args include number of log lines to generate, the name of the log file to generate and the
- * name of the file to store the user profile database in.
- * <p/>
- * Log lines and user profile entries are single line JSON.
- */
-public class Main {
- public static void main(String[] args) throws IOException {
-
- int n = Integer.parseInt(args[0].replaceAll("[KMG]?$", ""));
-
- switch (args[0].charAt(args[0].length() - 1)) {
- case 'G':
- n *= 1e9;
- break;
- case 'M':
- n *= 1e6;
- break;
- case 'K':
- n *= 1e3;
- break;
- default:
- // no suffix leads here
- break;
- }
-
- LogGenerator lg = new LogGenerator();
- BufferedWriter log = Files.newWriter(new File(args[1]), Charsets.UTF_8);
- for (int i = 0; i < n; i++) {
- if (i % 10000 == 0) {
- System.out.printf("%d %d\n", i, lg.getUserCount());
- }
- log.write(lg.sample().toString());
- log.newLine();
- }
- log.close();
-
- BufferedWriter profile = Files.newWriter(new File(args[2]), Charsets.UTF_8);
- for (User user : lg.getUsers()) {
- profile.write(user.toString());
- profile.newLine();
- }
- profile.close();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
deleted file mode 100644
index 9ddd61b..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/TermGenerator.java
+++ /dev/null
@@ -1,56 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import org.apache.mahout.math.random.Sampler;
-
-/**
- * Generate words at random from a specialized vocabulary. Every term generator's
- * frequency distribution has a common basis, but each will diverge after initialization.
- */
-public class TermGenerator implements Sampler<String> {
- // the word generator handles the problem of making up new words
- // it also provides the seed frequencies
- private WordGenerator words;
-
- private LongTail<String> distribution;
-
- public TermGenerator(WordGenerator words, final int alpha, final double discount) {
- this.words = words;
- distribution = new LongTail<String>(alpha, discount) {
- private int count = TermGenerator.this.words.size();
-
- @Override
- protected String createThing() {
- return TermGenerator.this.words.getString(count++);
- }
- };
-
- int i = 0;
- for (String word : this.words.getBaseWeights().keySet()) {
- distribution.getBaseDistribution().setCount(i, this.words.getBaseWeights().get(word));
- distribution.setThing(i, word);
- i++;
- }
-
- }
-
- public String sample() {
- return distribution.sample();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
deleted file mode 100644
index 194a666..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/User.java
+++ /dev/null
@@ -1,74 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.collect.Lists;
-import org.apache.mahout.common.RandomUtils;
-import org.apache.mahout.math.jet.random.Exponential;
-
-import java.net.InetAddress;
-import java.util.List;
-
-/**
- * Created with IntelliJ IDEA.
- * User: tdunning
- * Date: 2/2/13
- * Time: 6:15 PM
- * To change this template use File | Settings | File Templates.
- */
-public class User {
- private Exponential queryLengthDistribution = new Exponential(0.4, RandomUtils.getRandom());
-
- private long cookie = RandomUtils.getRandom().nextLong();
-
- private TermGenerator terms;
- private InetAddress address;
- private String geoCode;
-
- public User(InetAddress address, TermGenerator geoCoder, TermGenerator terms) {
- this.terms = terms;
- geoCode = geoCoder.sample();
- this.address = address;
- }
-
- public InetAddress getAddress() {
- return address;
- }
-
- public long getCookie() {
- return cookie;
- }
-
- public List<String> getQuery() {
- int n = queryLengthDistribution.nextInt() + 1;
- List<String> r = Lists.newArrayList();
- for (int i = 0; i < n; i++) {
- r.add(terms.sample());
- }
- return r;
- }
-
- public String getGeoCode() {
- return geoCode;
- }
-
- @Override
- public String toString() {
- return String.format("{ip:\"%s\", cookie:\"%08x\", geo:\"%s\"}", address, cookie, geoCode);
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java b/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
deleted file mode 100644
index 0167308..0000000
--- a/contrib/synth-log/src/main/java/org/apache/drill/synth/WordGenerator.java
+++ /dev/null
@@ -1,124 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.drill.synth;
-
-import com.google.common.base.Charsets;
-import com.google.common.base.Splitter;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Maps;
-import com.google.common.io.LineProcessor;
-import com.google.common.io.Resources;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.io.BufferedReader;
-import java.io.IOException;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.nio.file.Files;
-import java.nio.file.Path;
-import java.nio.file.Paths;
-import java.util.Iterator;
-import java.util.List;
-import java.util.Map;
-
-/**
- * Emulates an infinite list of words, a prefix of which are taken from lists of plausible words. The first words
- * are taken from a resource that has frequencies in it. These frequencies can be used to initialize term
- * generators to a common language. The next batch of words are taken from a long list of words with no frequencies.
- * After that, words are coined by using an integer count.
- */
-public class WordGenerator {
- private final Logger log = LoggerFactory.getLogger(WordGenerator.class);
-
- private BufferedReader wordReader;
- private final List<String> words = Lists.newArrayList();
- private final Map<String, Integer> baseWeights = Maps.newLinkedHashMap();
-
- public WordGenerator(String seed, String others) {
- // read the common words
- if (seed != null) {
- try {
- Resources.readLines(Resources.getResource(seed), Charsets.UTF_8,
- new LineProcessor<Object>() {
- private boolean header = true;
- private final Splitter onTabs = Splitter.on("\t");
-
- public boolean processLine(String s) throws IOException {
- if (!s.startsWith("#")) {
- if (!header) {
- Iterator<String> fields = onTabs.split(s).iterator();
- fields.next();
- String word = fields.next();
- words.add(word);
- int count = (int) Math.rint(Double.parseDouble(fields.next()));
- baseWeights.put(word, count);
- } else {
- header = false;
- }
- }
- return true;
- }
-
- public Object getResult() {
- return null;
- }
- });
- } catch (IOException e) {
- log.error("Can't read resource \"{}\", will continue without realistic words", seed);
- }
- }
-
- try {
- wordReader = new BufferedReader(Resources.newReaderSupplier(Resources.getResource(others), Charsets.UTF_8).getInput());
- } catch (IOException e) {
- log.error("Can't read resource \"{}\", will continue without realistic words", others);
- wordReader = null;
- }
-
- }
-
- public String getString(int n) {
- if (n >= words.size()) {
- synchronized (this) {
- while (n >= words.size()) {
- try {
- String w = wordReader.readLine();
- if (w != null) {
- words.add(w);
- } else {
- words.add("w-" + n);
- }
- } catch (IOException e) {
- log.error("Error reading other words resource", e);
- words.add("w-" + n);
- }
- }
- }
- }
- return words.get(n);
- }
-
- public Map<String, Integer> getBaseWeights() {
- return baseWeights;
- }
-
- public int size() {
- return words.size();
- }
-}
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/resources/geo-codes
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/resources/geo-codes b/contrib/synth-log/src/main/resources/geo-codes
deleted file mode 100644
index f08d1fc..0000000
--- a/contrib/synth-log/src/main/resources/geo-codes
+++ /dev/null
@@ -1,297 +0,0 @@
-AL
-AK
-AZ
-AR
-CA
-CO
-CT
-DE
-FL
-GA
-HI
-ID
-IL
-IN
-IA
-KS
-KY
-LA
-ME
-MD
-MA
-MI
-MN
-MS
-MO
-MT
-NE
-NV
-NH
-NJ
-NM
-NY
-NC
-ND
-OH
-OK
-OR
-PA
-RI
-SC
-SD
-TN
-TX
-UT
-VT
-VA
-WA
-WV
-WI
-WY
-AS
-DC
-FM
-GU
-MH
-MP
-PW
-PR
-VI
-AF
-AL
-DZ
-AS
-AD
-AO
-AI
-AQ
-AG
-AR
-AM
-AW
-AU
-AT
-AZ
-BS
-BH
-BD
-BB
-BY
-BE
-BZ
-BJ
-BM
-BT
-BO
-BA
-BW
-BV
-BR
-IO
-BN
-BG
-BF
-BI
-KH
-CM
-CA
-CV
-KY
-CF
-TD
-CL
-CN
-CX
-CC
-CO
-KM
-CG
-CD
-CK
-CR
-CI
-HR
-CU
-CY
-CZ
-DK
-DJ
-DM
-DO
-TP
-EC
-EG
-SV
-GQ
-ER
-EE
-ET
-FK
-FO
-FJ
-FI
-FR
-FX
-GF
-PF
-TF
-GA
-GM
-GE
-DE
-GH
-GI
-GR
-GL
-GD
-GP
-GU
-GT
-GN
-GW
-GY
-HT
-HM
-VA
-HN
-HK
-HU
-IS
-IN
-ID
-IR
-IQ
-IE
-IL
-IT
-JM
-JP
-JO
-KZ
-KE
-KI
-KP
-KR
-KW
-KG
-LA
-LV
-LB
-LS
-LR
-LY
-LI
-LT
-LU
-MO
-MK
-MG
-MW
-MY
-MV
-ML
-MT
-MH
-MQ
-MR
-MU
-YT
-MX
-FM
-MD
-MC
-MN
-MS
-MA
-MZ
-MM
-NA
-NR
-NP
-NL
-AN
-NC
-NZ
-NI
-NE
-NG
-NU
-NF
-MP
-NO
-OM
-PK
-PW
-PA
-PG
-PY
-PE
-PH
-PN
-PL
-PT
-PR
-QA
-RE
-RO
-RU
-RW
-KN
-LC
-VC
-WS
-SM
-ST
-SA
-SN
-SC
-SL
-SG
-SK
-SI
-SB
-SO
-ZA
-GS
-ES
-LK
-SH
-PM
-SD
-SR
-SJ
-SZ
-SE
-CH
-SY
-TW
-TJ
-TZ
-TH
-TG
-TK
-TO
-TT
-TN
-TR
-TM
-TC
-TV
-UG
-UA
-AE
-GB
-US
-UM
-UY
-UZ
-VU
-VE
-VN
-VG
-VI
-WF
-EH
-YE
-ZM
-ZW
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/incubator-drill/blob/43d71f10/contrib/synth-log/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/contrib/synth-log/src/main/resources/log4j.properties b/contrib/synth-log/src/main/resources/log4j.properties
deleted file mode 100644
index 972574a..0000000
--- a/contrib/synth-log/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,11 +0,0 @@
-# Set root logger level to DEBUG and its only appender to A1.
-log4j.rootLogger=DEBUG, A1
-
-# A1 is set to be a ConsoleAppender.
-log4j.appender.A1=org.apache.log4j.ConsoleAppender
-
-# A1 uses PatternLayout.
-log4j.appender.A1.layout=org.apache.log4j.PatternLayout
-log4j.appender.A1.layout.ConversionPattern=%-4r [%t] %-5p %c %x - %m%n
-
-log4j.logger.org.apache=off