kyuubi/python/TCLIService/constants.py
Cheng Pan f8c7b93f55
[KYUUBI #5686][FOLLOWUP] Rename pyhive to python
# 🔍 Description

This is the follow-up of #5686, renaming `./pyhive` to `./python`, and also adding `**/python/*` to RAT exclusion list temporarily.

"PyHive" may not be a suitable name after being part of Apache Kyuubi, let's use a generic dir name `python`, and discuss the official name later(we probably keep the code at `./python` eventually).

## Types of changes 🔖

- [ ] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Test Plan 🧪

Recover RAT checked.

---

# Checklist 📝

- [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html)

**Be nice. Be informative.**

Closes #6279 from pan3793/pyhive-1.

Closes #5686

42d338e71 [Cheng Pan] [KYUUBI #5686][FOLLOWUP] Rename pyhive to python

Authored-by: Cheng Pan <chengpan@apache.org>
Signed-off-by: Cheng Pan <chengpan@apache.org>
2024-04-09 20:30:02 +08:00

69 lines
1.1 KiB
Python

#
# Autogenerated by Thrift Compiler (0.10.0)
#
# DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
#
# options string: py
#
from thrift.Thrift import TType, TMessageType, TFrozenDict, TException, TApplicationException
from thrift.protocol.TProtocol import TProtocolException
import sys
from .ttypes import *
PRIMITIVE_TYPES = set((
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
15,
16,
17,
18,
19,
20,
21,
))
COMPLEX_TYPES = set((
10,
11,
12,
13,
14,
))
COLLECTION_TYPES = set((
10,
11,
))
TYPE_NAMES = {
0: "BOOLEAN",
1: "TINYINT",
2: "SMALLINT",
3: "INT",
4: "BIGINT",
5: "FLOAT",
6: "DOUBLE",
7: "STRING",
8: "TIMESTAMP",
9: "BINARY",
10: "ARRAY",
11: "MAP",
12: "STRUCT",
13: "UNIONTYPE",
15: "DECIMAL",
16: "NULL",
17: "DATE",
18: "VARCHAR",
19: "CHAR",
20: "INTERVAL_YEAR_MONTH",
21: "INTERVAL_DAY_TIME",
}
CHARACTER_MAXIMUM_LENGTH = "characterMaximumLength"
PRECISION = "precision"
SCALE = "scale"