Uppercase column names(将列名转换为大写)¶
Supported in: Batch, Faster, Streaming
Uppercases all column names in the dataset.
Transform categories: Data preparation
Declared arguments¶
- Dataset: Dataset to uppercase column names.
Table
Examples¶
Example 1: Base case¶
Argument values:
- Dataset: ri.foundry.main.dataset.a
Input:
| recentlyServiced | tailNumber | airlineCode |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Output:
| RECENTLYSERVICED | TAILNUMBER | AIRLINECODE |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
Example 2: Base case¶
Argument values:
- Dataset: ri.foundry.main.dataset.a
Input:
| first_name | last_name | email_address |
|---|---|---|
| John | Doe | john@example.com |
| Jane | Smith | jane@example.com |
Output:
| FIRST_NAME | LAST_NAME | EMAIL_ADDRESS |
|---|---|---|
| John | Doe | john@example.com |
| Jane | Smith | jane@example.com |
中文翻译¶
将列名转换为大写¶
支持:批处理(Batch)、快速处理(Faster)、流处理(Streaming)
将数据集中所有列名转换为大写。
转换类别:数据准备
声明参数¶
- 数据集(Dataset): 需要将列名转换为大写的数据集。
表格(Table)
示例¶
示例 1:基础案例¶
参数值:
- 数据集: ri.foundry.main.dataset.a
输入:
| recentlyServiced | tailNumber | airlineCode |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
输出:
| RECENTLYSERVICED | TAILNUMBER | AIRLINECODE |
|---|---|---|
| true | KK-150 | KK |
| false | XB-120 | XB |
| true | MT-190 | MT |
示例 2:基础案例¶
参数值:
- 数据集: ri.foundry.main.dataset.a
输入:
| first_name | last_name | email_address |
|---|---|---|
| John | Doe | john@example.com |
| Jane | Smith | jane@example.com |
输出:
| FIRST_NAME | LAST_NAME | EMAIL_ADDRESS |
|---|---|---|
| John | Doe | john@example.com |
| Jane | Smith | jane@example.com |