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

macro bigquery-functions-types-macros

proc macros to define BigQuery function types

15 releases

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

#1378 in Procedural macros

Download history 1/week @ 2024-06-23 1/week @ 2024-07-21 3/week @ 2024-07-28 5/week @ 2024-08-04 1/week @ 2024-08-11 5/week @ 2024-09-15 30/week @ 2024-09-22 10/week @ 2024-09-29 7/week @ 2024-10-06

52 downloads per month
Used in bigquery-functions

MIT license

150KB
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.15"

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

~0.8–1.2MB
~25K SLoC