blob: 0c14a878a22b3861de2ce4cf03654e9a1311e7b6 [file] [view]
<!--
~ Licensed to the Apache Software Foundation (ASF) under one
~ or more contributor license agreements. See the NOTICE file
~ distributed with this work for additional information
~ regarding copyright ownership. The ASF licenses this file
~ to you under the Apache License, Version 2.0 (the
~ "License"); you may not use this file except in compliance
~ with the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing,
~ software distributed under the License is distributed on an
~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
~ KIND, either express or implied. See the License for the
~ specific language governing permissions and limitations
~ under the License.
-->
---
title: "Python Lambda Function"
description: "Modify or add a new column with more ease"
category: "Python"
operator_type: "PythonLambdaFunction"
tags: [user-defined-functions, python]
---
[Home](../../../) > [User Defined Functions](../../) > [Python](../)
### Input Properties
| Property | Requirement | Type | Default | Description |
|----------|-------------|------|---------|-------------|
| Add/Modify column(s) | | List<Lambda Attribute Unit> | - | |
| ↳ Attribute Name | ✓ | String | - | |
| ↳ Expression | ✓ | String | - | |
| ↳ Attribute Type | ✓ | string, integer, long, double, boolean,<br>timestamp, binary, large_binary | - | |
### Output Ports
| Port | Mode |
|------|------|
| 0 | [Set Snapshot](../../../output-modes/#set-snapshot) |