扩展功能 [英] Extend Function

查看:103
本文介绍了扩展功能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨 

有没有办法重命名或提供别名来扩展列名。

Is there any way to rename or give alias to extend column name.

或者我可以延长列名称包含空格。

or can i give a extend column name having blank space.

提前致谢

Akash

 

推荐答案

Hello Akash,

Hello Akash,

extend 运算符可用于创建计算列并将它们附加到结果集。例如:

The extend operator can be used to create calculated columns and append them to the result set. For example:

T | extend duration = endTime - startTime

AFAIK,虽然给出ColumnName是可选的,但它不能是空格。有关扩展
的更多信息,请
这里

AFAIK, although giving the ColumnName is optional, it cannot be a blank space. More about extend here.

为了重命名,你有没有检查过项目重命名运算符?它的工作方式如下:

For renaming purposes, have you checked out the project-rename operator yet? The way it works is as follows:

T | project-rename new_column_name = column_name

关于这个的更多信息
here
。请检查一下,让我知道它是否适合你!

More about this one here. Please check it out and let me know if it works for you!


这篇关于扩展功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆