本文簡要介紹 python 語言中 pyflink.table.Table.minus
的用法。
用法:
minus(right: pyflink.table.table.Table) → pyflink.table.table.Table
減去兩個
Table
,並刪除重複記錄。類似於 SQL EXCEPT 子句。減號返回左表中右表中不存在的記錄。左表中的重複記錄隻返回一次,即刪除重複項。兩個表必須具有相同的字段類型。注意:
兩個表必須綁定到相同的
TableEnvironment
。例子:
>>> left.minus(right)
參數:
right- 右表。
返回:
結果表。
相關用法
- Python pyflink Table.minus_all用法及代碼示例
- Python pyflink Table.map用法及代碼示例
- Python pyflink Table.intersect_all用法及代碼示例
- Python pyflink Table.fetch用法及代碼示例
- Python pyflink Table.right_outer_join用法及代碼示例
- Python pyflink Table.distinct用法及代碼示例
- Python pyflink Table.where用法及代碼示例
- Python pyflink Table.drop_columns用法及代碼示例
- Python pyflink Table.execute用法及代碼示例
- Python pyflink Table.over_window用法及代碼示例
- Python pyflink Table.union_all用法及代碼示例
- Python pyflink Table.left_outer_join_lateral用法及代碼示例
- Python pyflink Table.add_or_replace_columns用法及代碼示例
- Python pyflink Table.join用法及代碼示例
- Python pyflink Table.execute_insert用法及代碼示例
- Python pyflink Table.limit用法及代碼示例
- Python pyflink Table.offset用法及代碼示例
- Python pyflink Table.group_by用法及代碼示例
- Python pyflink Table.add_columns用法及代碼示例
- Python pyflink Table.rename_columns用法及代碼示例
- Python pyflink Table.to_pandas用法及代碼示例
- Python pyflink Table.union用法及代碼示例
- Python pyflink Table.select用法及代碼示例
- Python pyflink Table.window用法及代碼示例
- Python pyflink Table.full_outer_join用法及代碼示例
注:本文由純淨天空篩選整理自apache.org大神的英文原創作品 pyflink.table.Table.minus。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。