microsoft / Kusto-Query-Language

Kusto Query Language is a simple and productive language for querying Big Data.
Apache License 2.0
562 stars 104 forks source link

KQL - Contributing New Functions #101

Closed ltrk2 closed 1 year ago

ltrk2 commented 1 year ago

Hello,

I'm looking to contribute a couple of functions to the KQL specification and I was wondering if this was the right repository for this purpose. Could you please confirm this?

Specifically, I'd like to produce IPv6 variants of the has_ipv4, has_any_ipv4, has_ipv4_prefix and has_any_ipv4_prefix functions.

Thanks!

mattwar commented 1 year ago

This repo is only a replication of a small portion of the Kusto internal repo within Microsoft. It is just the parser with some semantic analysis appropriate for intellisense. There are no implementations of functions found here, just a means to describe them for intellisense purposes.

ltrk2 commented 1 year ago

@mattwar I have no wish to contribute implementation. My ultimate goal is to extend the specification, which seems to reside in the doc folder of this repository. Would this be a possibility?

sloutsky commented 1 year ago

If you're willing to change docs - this can be done by suggesting a PR on docs repo:

You can find the doc on https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/kusto/query/has-ipv4-function.md - and "Edit" it. It will forward you to a relevant MD file, for example: https://github.com/MicrosoftDocs/dataexplorer-docs/blob/main/data-explorer/kusto/query/has-ipv4-function.md

ltrk2 commented 1 year ago

@sloutsky thanks for the guidance!