mirror of
https://github.com/apache/impala.git
synced 2026-01-08 12:02:54 -05:00
As part of the ASF transition, we need to replace references to Cloudera in Impala with references to Apache. This primarily means changing Java package names from com.cloudera.impala.* to org.apache.impala.* A prior patch renamed all the files as necessary, and this patch performs the actual code changes. Most of the changes in this patch were generated with some commands of the form: find . | grep "\.java\|\.py\|\.h\|\.cc" | \ xargs sed -i s/'com\(.\)cloudera\(\.\)impala/org\1apache\2impala/g along with some manual fixes. After this patch, the remaining references to Cloudera in the repo mostly fall into the categories: - External components that have cloudera in their own package names, eg. com.cloudera.kudu/llama - URLs, eg. https://repository.cloudera.com/ Change-Id: I0d35fa6602a7fc0c212b2ef5e2b3322b77dde7e2 Reviewed-on: http://gerrit.cloudera.org:8080/3937 Reviewed-by: Thomas Tauber-Marshall <tmarshall@cloudera.com> Reviewed-by: Jim Apple <jbapple@cloudera.com> Tested-by: Internal Jenkins
66 lines
1.6 KiB
Thrift
66 lines
1.6 KiB
Thrift
// Licensed to the Apache Software Foundation (ASF) under one
|
|
// or more contributor license agreements. See the NOTICE file
|
|
// distributed with this work for additional information
|
|
// regarding copyright ownership. The ASF licenses this file
|
|
// to you under the Apache License, Version 2.0 (the
|
|
// "License"); you may not use this file except in compliance
|
|
// with the License. You may obtain a copy of the License at
|
|
//
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
//
|
|
// Unless required by applicable law or agreed to in writing,
|
|
// software distributed under the License is distributed on an
|
|
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
// KIND, either express or implied. See the License for the
|
|
// specific language governing permissions and limitations
|
|
// under the License.
|
|
|
|
namespace cpp impala
|
|
namespace java org.apache.impala.thrift
|
|
|
|
struct TVertex {
|
|
// Vertex id
|
|
1: required i64 id
|
|
|
|
// Column label
|
|
2: required string label
|
|
}
|
|
|
|
enum TEdgeType {
|
|
PROJECTION,
|
|
PREDICATE
|
|
}
|
|
|
|
struct TMultiEdge {
|
|
// Set of source vertices
|
|
1: list<TVertex> sources
|
|
|
|
// Set of target vertices
|
|
2: list<TVertex> targets
|
|
|
|
// Connecting edge type
|
|
3: TEdgeType edgetype
|
|
}
|
|
|
|
struct TLineageGraph {
|
|
// Input SQL query
|
|
1: required string query_text
|
|
|
|
// md5 hash of the query string
|
|
2: required string hash
|
|
|
|
// Name of the user who issued this query
|
|
3: required string user
|
|
|
|
// Query start time as a unix epoch, set in planner
|
|
4: required i64 started
|
|
|
|
// Query end time as unix epoch.
|
|
// Marked as optional as it is set in the backend
|
|
5: optional i64 ended
|
|
|
|
6: list<TMultiEdge> edges
|
|
|
|
7: list<TVertex> vertices
|
|
}
|