#big-query #macro #proc-macro #define #type #function #generate

macro bigquery-functions-types-macros

proc macros to define BigQuery function types

14 releases

0.1.14 Mar 21, 2024
0.1.13 Mar 21, 2024
0.1.7 Feb 16, 2023
0.1.4 Dec 12, 2022
0.1.3 Oct 24, 2022

#1381 in Procedural macros

Download history 41/week @ 2024-02-19 8/week @ 2024-02-26 138/week @ 2024-03-04 60/week @ 2024-03-11 618/week @ 2024-03-18

839 downloads per month
Used in bigquery-functions

MIT license

225KB
62 lines

List of BigQuery Standard SQL Functions

This Reference is parsed to generate type definitions.

See output for a list of BiqQuery functions.

Usage

Here's how to process a list of BigQuery functions using Rust. Fist, add the following to Cargo.toml.

[dependencies]
bigquery-functions = "0.1.14"

Then call the function or type as follows.

use bigquery_functions::get_bigquery_function_names;

fn main() {
    let function_names = get_bigquery_function_names();
    println!("function_names: {:?}", function_names)
}

docs.rs is also helpful.

Dependencies

~360–760KB
~17K SLoC