-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(extensions): include Substrait core extensions (#187)
Include core extensions from `Subtrait`. The majority of the code originates from the un-merged pr #89. --------- Co-authored-by: Matthijs Brobbel <[email protected]>
- Loading branch information
Showing
5 changed files
with
123 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// SPDX-License-Identifier: Apache-2.0 | ||
|
||
//! Substrait core extensions | ||
//! | ||
//! The contents of this module are auto-generated using `build.rs`. It is | ||
//! included in the packaged crate, ignored by git, and automatically kept | ||
//! in-sync. | ||
include!(concat!(env!("OUT_DIR"), "/extensions.in")); | ||
|
||
#[cfg(test)] | ||
mod tests { | ||
use super::*; | ||
|
||
use once_cell::sync::Lazy; | ||
|
||
#[test] | ||
fn core_extensions() { | ||
// Force evaluation of core extensions. | ||
Lazy::force(&EXTENSIONS); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters