From 8dc5dc4a6d7b9680487395c75c891e36bb186f22 Mon Sep 17 00:00:00 2001 From: Robert Kruszewski Date: Thu, 29 Feb 2024 11:06:09 +0000 Subject: [PATCH] Add copyright (#29) --- LICENSE-APACHE | 202 +++++++++++++++++++++ bench-vortex/benches/compress_benchmark.rs | 14 ++ bench-vortex/src/lib.rs | 14 ++ codecz-sys/build.rs | 14 ++ codecz-sys/src/lib.rs | 14 ++ codecz/benches/codecz_benchmark.rs | 14 ++ codecz/src/encodings/alp.rs | 14 ++ codecz/src/encodings/error.rs | 14 ++ codecz/src/encodings/ffor.rs | 14 ++ codecz/src/encodings/mod.rs | 14 ++ codecz/src/encodings/ree.rs | 14 ++ codecz/src/lib.rs | 14 ++ codecz/src/math.rs | 14 ++ codecz/src/utils.rs | 14 ++ pyvortex/src/array.rs | 14 ++ pyvortex/src/compress.rs | 14 ++ pyvortex/src/dtype.rs | 14 ++ pyvortex/src/encode.rs | 14 ++ pyvortex/src/error.rs | 14 ++ pyvortex/src/lib.rs | 14 ++ pyvortex/src/serde.rs | 14 ++ pyvortex/src/vortex_arrow.rs | 14 ++ pyvortex/test/conftest.py | 14 ++ pyvortex/test/test_array.py | 14 ++ pyvortex/test/test_compress.py | 14 ++ pyvortex/test/test_dtype.py | 14 ++ pyvortex/test/test_serde.py | 14 ++ vortex-alloc/src/alloc.rs | 14 ++ vortex-alloc/src/lib.rs | 14 ++ vortex-alp/src/alp.rs | 14 ++ vortex-alp/src/compress.rs | 14 ++ vortex-alp/src/downcast.rs | 14 ++ vortex-alp/src/lib.rs | 14 ++ vortex-alp/src/serde.rs | 14 ++ vortex-alp/src/stats.rs | 14 ++ vortex-dict/src/compress.rs | 14 ++ vortex-dict/src/dict.rs | 14 ++ vortex-dict/src/downcast.rs | 14 ++ vortex-dict/src/lib.rs | 14 ++ vortex-dict/src/serde.rs | 14 ++ vortex-dict/src/stats.rs | 14 ++ vortex-ffor/src/compress.rs | 14 ++ vortex-ffor/src/downcast.rs | 14 ++ vortex-ffor/src/ffor.rs | 14 ++ vortex-ffor/src/lib.rs | 14 ++ vortex-ffor/src/serde.rs | 14 ++ vortex-ffor/src/stats.rs | 14 ++ vortex-ree/src/compress.rs | 14 ++ vortex-ree/src/downcast.rs | 14 ++ vortex-ree/src/lib.rs | 14 ++ vortex-ree/src/ree.rs | 14 ++ vortex-ree/src/serde.rs | 14 ++ vortex-ree/src/stats.rs | 14 ++ vortex-roaring/src/boolean/compress.rs | 14 ++ vortex-roaring/src/boolean/mod.rs | 14 ++ vortex-roaring/src/boolean/serde.rs | 14 ++ vortex-roaring/src/boolean/stats.rs | 14 ++ vortex-roaring/src/downcast.rs | 14 ++ vortex-roaring/src/integer/compress.rs | 14 ++ vortex-roaring/src/integer/mod.rs | 14 ++ vortex-roaring/src/integer/serde.rs | 14 ++ vortex-roaring/src/integer/stats.rs | 14 ++ vortex-roaring/src/lib.rs | 14 ++ vortex-roaring/src/serde_tests.rs | 14 ++ vortex-zigzag/src/compress.rs | 14 ++ vortex-zigzag/src/downcast.rs | 14 ++ vortex-zigzag/src/lib.rs | 14 ++ vortex-zigzag/src/serde.rs | 14 ++ vortex-zigzag/src/stats.rs | 14 ++ vortex-zigzag/src/zigzag.rs | 14 ++ vortex/src/array/bool/compress.rs | 14 ++ vortex/src/array/bool/mod.rs | 14 ++ vortex/src/array/bool/serde.rs | 14 ++ vortex/src/array/bool/stats.rs | 14 ++ vortex/src/array/chunked/compress.rs | 14 ++ vortex/src/array/chunked/mod.rs | 14 ++ vortex/src/array/chunked/serde.rs | 14 ++ vortex/src/array/chunked/stats.rs | 14 ++ vortex/src/array/constant/compress.rs | 14 ++ vortex/src/array/constant/compute.rs | 14 ++ vortex/src/array/constant/mod.rs | 14 ++ vortex/src/array/constant/serde.rs | 14 ++ vortex/src/array/constant/stats.rs | 14 ++ vortex/src/array/constant/take.rs | 14 ++ vortex/src/array/downcast.rs | 14 ++ vortex/src/array/mod.rs | 14 ++ vortex/src/array/primitive/compress.rs | 14 ++ vortex/src/array/primitive/mod.rs | 14 ++ vortex/src/array/primitive/serde.rs | 14 ++ vortex/src/array/primitive/stats.rs | 14 ++ vortex/src/array/sparse/compress.rs | 14 ++ vortex/src/array/sparse/mod.rs | 14 ++ vortex/src/array/sparse/serde.rs | 14 ++ vortex/src/array/sparse/stats.rs | 14 ++ vortex/src/array/struct_/compress.rs | 14 ++ vortex/src/array/struct_/mod.rs | 14 ++ vortex/src/array/struct_/serde.rs | 14 ++ vortex/src/array/struct_/stats.rs | 14 ++ vortex/src/array/typed/compress.rs | 14 ++ vortex/src/array/typed/mod.rs | 14 ++ vortex/src/array/typed/serde.rs | 14 ++ vortex/src/array/typed/stats.rs | 14 ++ vortex/src/array/varbin/compress.rs | 14 ++ vortex/src/array/varbin/mod.rs | 14 ++ vortex/src/array/varbin/serde.rs | 14 ++ vortex/src/array/varbin/stats.rs | 14 ++ vortex/src/array/varbinview/compress.rs | 14 ++ vortex/src/array/varbinview/mod.rs | 14 ++ vortex/src/array/varbinview/serde.rs | 14 ++ vortex/src/arrow/aligned_iter.rs | 14 ++ vortex/src/arrow/compute/mod.rs | 14 ++ vortex/src/arrow/compute/repeat.rs | 14 ++ vortex/src/arrow/convert.rs | 14 ++ vortex/src/arrow/mod.rs | 14 ++ vortex/src/compress.rs | 14 ++ vortex/src/compute/add.rs | 14 ++ vortex/src/compute/as_contiguous.rs | 14 ++ vortex/src/compute/cast.rs | 14 ++ vortex/src/compute/mod.rs | 14 ++ vortex/src/compute/repeat.rs | 14 ++ vortex/src/compute/search_sorted.rs | 14 ++ vortex/src/compute/take.rs | 14 ++ vortex/src/dtype.rs | 14 ++ vortex/src/encode.rs | 14 ++ vortex/src/error.rs | 14 ++ vortex/src/formatter.rs | 14 ++ vortex/src/lib.rs | 14 ++ vortex/src/polars.rs | 14 ++ vortex/src/ptype.rs | 14 ++ vortex/src/sampling.rs | 14 ++ vortex/src/scalar/arrow.rs | 14 ++ vortex/src/scalar/binary.rs | 14 ++ vortex/src/scalar/bool.rs | 14 ++ vortex/src/scalar/equal.rs | 14 ++ vortex/src/scalar/list.rs | 14 ++ vortex/src/scalar/localtime.rs | 14 ++ vortex/src/scalar/mod.rs | 14 ++ vortex/src/scalar/null.rs | 14 ++ vortex/src/scalar/nullable.rs | 14 ++ vortex/src/scalar/ord.rs | 14 ++ vortex/src/scalar/primitive.rs | 14 ++ vortex/src/scalar/serde.rs | 14 ++ vortex/src/scalar/struct_.rs | 14 ++ vortex/src/scalar/utf8.rs | 14 ++ vortex/src/serde/dtype.rs | 14 ++ vortex/src/serde/mod.rs | 14 ++ vortex/src/stats.rs | 14 ++ 147 files changed, 2246 insertions(+) create mode 100644 LICENSE-APACHE diff --git a/LICENSE-APACHE b/LICENSE-APACHE new file mode 100644 index 0000000000..d645695673 --- /dev/null +++ b/LICENSE-APACHE @@ -0,0 +1,202 @@ + + Apache License + Version 2.0, January 2004 + http://www.apache.org/licenses/ + + TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION + + 1. Definitions. + + "License" shall mean the terms and conditions for use, reproduction, + and distribution as defined by Sections 1 through 9 of this document. + + "Licensor" shall mean the copyright owner or entity authorized by + the copyright owner that is granting the License. + + "Legal Entity" shall mean the union of the acting entity and all + other entities that control, are controlled by, or are under common + control with that entity. For the purposes of this definition, + "control" means (i) the power, direct or indirect, to cause the + direction or management of such entity, whether by contract or + otherwise, or (ii) ownership of fifty percent (50%) or more of the + outstanding shares, or (iii) beneficial ownership of such entity. + + "You" (or "Your") shall mean an individual or Legal Entity + exercising permissions granted by this License. + + "Source" form shall mean the preferred form for making modifications, + including but not limited to software source code, documentation + source, and configuration files. + + "Object" form shall mean any form resulting from mechanical + transformation or translation of a Source form, including but + not limited to compiled object code, generated documentation, + and conversions to other media types. + + "Work" shall mean the work of authorship, whether in Source or + Object form, made available under the License, as indicated by a + copyright notice that is included in or attached to the work + (an example is provided in the Appendix below). + + "Derivative Works" shall mean any work, whether in Source or Object + form, that is based on (or derived from) the Work and for which the + editorial revisions, annotations, elaborations, or other modifications + represent, as a whole, an original work of authorship. For the purposes + of this License, Derivative Works shall not include works that remain + separable from, or merely link (or bind by name) to the interfaces of, + the Work and Derivative Works thereof. + + "Contribution" shall mean any work of authorship, including + the original version of the Work and any modifications or additions + to that Work or Derivative Works thereof, that is intentionally + submitted to Licensor for inclusion in the Work by the copyright owner + or by an individual or Legal Entity authorized to submit on behalf of + the copyright owner. For the purposes of this definition, "submitted" + means any form of electronic, verbal, or written communication sent + to the Licensor or its representatives, including but not limited to + communication on electronic mailing lists, source code control systems, + and issue tracking systems that are managed by, or on behalf of, the + Licensor for the purpose of discussing and improving the Work, but + excluding communication that is conspicuously marked or otherwise + designated in writing by the copyright owner as "Not a Contribution." + + "Contributor" shall mean Licensor and any individual or Legal Entity + on behalf of whom a Contribution has been received by Licensor and + subsequently incorporated within the Work. + + 2. Grant of Copyright License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + copyright license to reproduce, prepare Derivative Works of, + publicly display, publicly perform, sublicense, and distribute the + Work and such Derivative Works in Source or Object form. + + 3. Grant of Patent License. Subject to the terms and conditions of + this License, each Contributor hereby grants to You a perpetual, + worldwide, non-exclusive, no-charge, royalty-free, irrevocable + (except as stated in this section) patent license to make, have made, + use, offer to sell, sell, import, and otherwise transfer the Work, + where such license applies only to those patent claims licensable + by such Contributor that are necessarily infringed by their + Contribution(s) alone or by combination of their Contribution(s) + with the Work to which such Contribution(s) was submitted. If You + institute patent litigation against any entity (including a + cross-claim or counterclaim in a lawsuit) alleging that the Work + or a Contribution incorporated within the Work constitutes direct + or contributory patent infringement, then any patent licenses + granted to You under this License for that Work shall terminate + as of the date such litigation is filed. + + 4. Redistribution. You may reproduce and distribute copies of the + Work or Derivative Works thereof in any medium, with or without + modifications, and in Source or Object form, provided that You + meet the following conditions: + + (a) You must give any other recipients of the Work or + Derivative Works a copy of this License; and + + (b) You must cause any modified files to carry prominent notices + stating that You changed the files; and + + (c) You must retain, in the Source form of any Derivative Works + that You distribute, all copyright, patent, trademark, and + attribution notices from the Source form of the Work, + excluding those notices that do not pertain to any part of + the Derivative Works; and + + (d) If the Work includes a "NOTICE" text file as part of its + distribution, then any Derivative Works that You distribute must + include a readable copy of the attribution notices contained + within such NOTICE file, excluding those notices that do not + pertain to any part of the Derivative Works, in at least one + of the following places: within a NOTICE text file distributed + as part of the Derivative Works; within the Source form or + documentation, if provided along with the Derivative Works; or, + within a display generated by the Derivative Works, if and + wherever such third-party notices normally appear. The contents + of the NOTICE file are for informational purposes only and + do not modify the License. You may add Your own attribution + notices within Derivative Works that You distribute, alongside + or as an addendum to the NOTICE text from the Work, provided + that such additional attribution notices cannot be construed + as modifying the License. + + You may add Your own copyright statement to Your modifications and + may provide additional or different license terms and conditions + for use, reproduction, or distribution of Your modifications, or + for any such Derivative Works as a whole, provided Your use, + reproduction, and distribution of the Work otherwise complies with + the conditions stated in this License. + + 5. Submission of Contributions. Unless You explicitly state otherwise, + any Contribution intentionally submitted for inclusion in the Work + by You to the Licensor shall be under the terms and conditions of + this License, without any additional terms or conditions. + Notwithstanding the above, nothing herein shall supersede or modify + the terms of any separate license agreement you may have executed + with Licensor regarding such Contributions. + + 6. Trademarks. This License does not grant permission to use the trade + names, trademarks, service marks, or product names of the Licensor, + except as required for reasonable and customary use in describing the + origin of the Work and reproducing the content of the NOTICE file. + + 7. Disclaimer of Warranty. Unless required by applicable law or + agreed to in writing, Licensor provides the Work (and each + Contributor provides its Contributions) on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or + implied, including, without limitation, any warranties or conditions + of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A + PARTICULAR PURPOSE. You are solely responsible for determining the + appropriateness of using or redistributing the Work and assume any + risks associated with Your exercise of permissions under this License. + + 8. Limitation of Liability. In no event and under no legal theory, + whether in tort (including negligence), contract, or otherwise, + unless required by applicable law (such as deliberate and grossly + negligent acts) or agreed to in writing, shall any Contributor be + liable to You for damages, including any direct, indirect, special, + incidental, or consequential damages of any character arising as a + result of this License or out of the use or inability to use the + Work (including but not limited to damages for loss of goodwill, + work stoppage, computer failure or malfunction, or any and all + other commercial damages or losses), even if such Contributor + has been advised of the possibility of such damages. + + 9. Accepting Warranty or Additional Liability. While redistributing + the Work or Derivative Works thereof, You may choose to offer, + and charge a fee for, acceptance of support, warranty, indemnity, + or other liability obligations and/or rights consistent with this + License. However, in accepting such obligations, You may act only + on Your own behalf and on Your sole responsibility, not on behalf + of any other Contributor, and only if You agree to indemnify, + defend, and hold each Contributor harmless for any liability + incurred by, or claims asserted against, such Contributor by reason + of your accepting any such warranty or additional liability. + + END OF TERMS AND CONDITIONS + + APPENDIX: How to apply the Apache License to your work. + + To apply the Apache License to your work, attach the following + boilerplate notice, with the fields enclosed by brackets "[]" + replaced with your own identifying information. (Don't include + the brackets!) The text should be enclosed in the appropriate + comment syntax for the file format. We also recommend that a + file or class name and description of purpose be included on the + same "printed page" as the copyright notice for easier + identification within third-party archives. + + Copyright [yyyy] [name of copyright owner] + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. diff --git a/bench-vortex/benches/compress_benchmark.rs b/bench-vortex/benches/compress_benchmark.rs index 05d947cafb..29acd61b33 100644 --- a/bench-vortex/benches/compress_benchmark.rs +++ b/bench-vortex/benches/compress_benchmark.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::fs::{create_dir_all, File}; use std::path::Path; diff --git a/bench-vortex/src/lib.rs b/bench-vortex/src/lib.rs index 78e1da74a2..6f04584280 100644 --- a/bench-vortex/src/lib.rs +++ b/bench-vortex/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use itertools::Itertools; use vortex::array::Encoding; diff --git a/codecz-sys/build.rs b/codecz-sys/build.rs index 38fbbdc5ca..e53fdff792 100644 --- a/codecz-sys/build.rs +++ b/codecz-sys/build.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::env; use std::path::{Path, PathBuf}; use walkdir::WalkDir; diff --git a/codecz-sys/src/lib.rs b/codecz-sys/src/lib.rs index 3ddf164259..18f63840f4 100644 --- a/codecz-sys/src/lib.rs +++ b/codecz-sys/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #![allow(non_upper_case_globals)] #![allow(non_camel_case_types)] #![allow(non_snake_case)] diff --git a/codecz/benches/codecz_benchmark.rs b/codecz/benches/codecz_benchmark.rs index 92682d9c83..46bc4744a9 100644 --- a/codecz/benches/codecz_benchmark.rs +++ b/codecz/benches/codecz_benchmark.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use criterion::{black_box, criterion_group, criterion_main, Criterion}; use rand::{ distributions::{Distribution, Uniform}, diff --git a/codecz/src/encodings/alp.rs b/codecz/src/encodings/alp.rs index c1da2f10bb..fb1890efb3 100644 --- a/codecz/src/encodings/alp.rs +++ b/codecz/src/encodings/alp.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::{ AlignedVec, Codec, CodecError, CodecFunction, OneBufferResult, TwoBufferResult, WrittenBuffer, ALIGNED_ALLOCATOR, diff --git a/codecz/src/encodings/error.rs b/codecz/src/encodings/error.rs index b229be04dc..0c6c8e0d41 100644 --- a/codecz/src/encodings/error.rs +++ b/codecz/src/encodings/error.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::{Codec, CodecFunction}; #[derive(Debug, thiserror::Error, PartialEq)] diff --git a/codecz/src/encodings/ffor.rs b/codecz/src/encodings/ffor.rs index e32019f407..916a57afbd 100644 --- a/codecz/src/encodings/ffor.rs +++ b/codecz/src/encodings/ffor.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::mem::size_of; use arrow_buffer::BooleanBuffer; diff --git a/codecz/src/encodings/mod.rs b/codecz/src/encodings/mod.rs index 5a38976ced..adfb933db0 100644 --- a/codecz/src/encodings/mod.rs +++ b/codecz/src/encodings/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use enum_display::EnumDisplay; mod error; diff --git a/codecz/src/encodings/ree.rs b/codecz/src/encodings/ree.rs index 438c51253e..ca6db582c0 100644 --- a/codecz/src/encodings/ree.rs +++ b/codecz/src/encodings/ree.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use super::{ AlignedVec, Codec, CodecError, CodecFunction, OneBufferResult, TwoBufferResult, WrittenBuffer, ALIGNED_ALLOCATOR, diff --git a/codecz/src/lib.rs b/codecz/src/lib.rs index 2fb1f5f745..7caf71cd15 100644 --- a/codecz/src/lib.rs +++ b/codecz/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub mod encodings; pub mod math; pub mod utils; diff --git a/codecz/src/math.rs b/codecz/src/math.rs index 6525d5772f..4eaacc4f40 100644 --- a/codecz/src/math.rs +++ b/codecz/src/math.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use codecz_sys::{ codecz_math_isConstant_f32, codecz_math_isConstant_f64, codecz_math_isConstant_i16, codecz_math_isConstant_i32, codecz_math_isConstant_i64, codecz_math_isConstant_i8, diff --git a/codecz/src/utils.rs b/codecz/src/utils.rs index 14e134e27f..771b2d6c4a 100644 --- a/codecz/src/utils.rs +++ b/codecz/src/utils.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + extern crate alloc; use crate::{AlignedVec, ALIGNED_ALLOCATOR}; diff --git a/pyvortex/src/array.rs b/pyvortex/src/array.rs index e04d6060ea..61604548c9 100644 --- a/pyvortex/src/array.rs +++ b/pyvortex/src/array.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use paste::paste; use pyo3::exceptions::PyValueError; use pyo3::prelude::*; diff --git a/pyvortex/src/compress.rs b/pyvortex/src/compress.rs index 46833c9d5a..39e03476b2 100644 --- a/pyvortex/src/compress.rs +++ b/pyvortex/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use pyo3::types::PyType; use pyo3::{pyclass, pyfunction, pymethods, Py, PyResult, Python}; diff --git a/pyvortex/src/dtype.rs b/pyvortex/src/dtype.rs index 14f76243fc..1bf88ecb96 100644 --- a/pyvortex/src/dtype.rs +++ b/pyvortex/src/dtype.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::datatypes::DataType; use arrow::pyarrow::FromPyArrow; use pyo3::types::PyType; diff --git a/pyvortex/src/encode.rs b/pyvortex/src/encode.rs index 2604cec8dd..e3fd4fbcb3 100644 --- a/pyvortex/src/encode.rs +++ b/pyvortex/src/encode.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::{make_array, ArrayData}; use arrow::datatypes::DataType; use arrow::ffi_stream::ArrowArrayStreamReader; diff --git a/pyvortex/src/error.rs b/pyvortex/src/error.rs index 39daec11fa..9431d6d395 100644 --- a/pyvortex/src/error.rs +++ b/pyvortex/src/error.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use pyo3::exceptions::PyValueError; use pyo3::PyErr; diff --git a/pyvortex/src/lib.rs b/pyvortex/src/lib.rs index c57674f93a..f74b30fc20 100644 --- a/pyvortex/src/lib.rs +++ b/pyvortex/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use log::debug; use pyo3::prelude::*; diff --git a/pyvortex/src/serde.rs b/pyvortex/src/serde.rs index d5f47bc165..534a192bfd 100644 --- a/pyvortex/src/serde.rs +++ b/pyvortex/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::{ErrorKind, Read, Write}; diff --git a/pyvortex/src/vortex_arrow.rs b/pyvortex/src/vortex_arrow.rs index 4f9fb44031..7e524596d0 100644 --- a/pyvortex/src/vortex_arrow.rs +++ b/pyvortex/src/vortex_arrow.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::Array as ArrowArray; use arrow::datatypes::DataType; use arrow::error::ArrowError; diff --git a/pyvortex/test/conftest.py b/pyvortex/test/conftest.py index 99cc58cabd..0bfd1e1034 100644 --- a/pyvortex/test/conftest.py +++ b/pyvortex/test/conftest.py @@ -1,3 +1,17 @@ +# (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import logging import pathlib import subprocess diff --git a/pyvortex/test/test_array.py b/pyvortex/test/test_array.py index 9c24d217e9..5dad5f3892 100644 --- a/pyvortex/test/test_array.py +++ b/pyvortex/test/test_array.py @@ -1,3 +1,17 @@ +# (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pyarrow as pa import pytest diff --git a/pyvortex/test/test_compress.py b/pyvortex/test/test_compress.py index 272b1abfc7..84ae84eddb 100644 --- a/pyvortex/test/test_compress.py +++ b/pyvortex/test/test_compress.py @@ -1,3 +1,17 @@ +# (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import numpy as np import pyarrow as pa diff --git a/pyvortex/test/test_dtype.py b/pyvortex/test/test_dtype.py index e8761f34b4..fcd0171868 100644 --- a/pyvortex/test/test_dtype.py +++ b/pyvortex/test/test_dtype.py @@ -1,3 +1,17 @@ +# (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import vortex diff --git a/pyvortex/test/test_serde.py b/pyvortex/test/test_serde.py index 9a05a67a4a..9321a21464 100644 --- a/pyvortex/test/test_serde.py +++ b/pyvortex/test/test_serde.py @@ -1,3 +1,17 @@ +# (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + import pyarrow as pa from pyarrow import fs diff --git a/vortex-alloc/src/alloc.rs b/vortex-alloc/src/alloc.rs index 9c319e7908..f785903e67 100644 --- a/vortex-alloc/src/alloc.rs +++ b/vortex-alloc/src/alloc.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use core::ptr::NonNull; use super::VORTEX_ALIGNMENT; diff --git a/vortex-alloc/src/lib.rs b/vortex-alloc/src/lib.rs index 623d7a7ec5..95a0e8d1ea 100644 --- a/vortex-alloc/src/lib.rs +++ b/vortex-alloc/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + mod alloc; pub use alloc::*; diff --git a/vortex-alp/src/alp.rs b/vortex-alp/src/alp.rs index 86e32fceda..3a787bbc99 100644 --- a/vortex-alp/src/alp.rs +++ b/vortex-alp/src/alp.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex-alp/src/compress.rs b/vortex-alp/src/compress.rs index 182cef2a4a..d44a5a55d2 100644 --- a/vortex-alp/src/compress.rs +++ b/vortex-alp/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use log::debug; use codecz::alp; diff --git a/vortex-alp/src/downcast.rs b/vortex-alp/src/downcast.rs index 4bbf6b01bd..9c8012b138 100644 --- a/vortex-alp/src/downcast.rs +++ b/vortex-alp/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::ALPArray; diff --git a/vortex-alp/src/lib.rs b/vortex-alp/src/lib.rs index 6f0fe3ae42..e2b3d3812b 100644 --- a/vortex-alp/src/lib.rs +++ b/vortex-alp/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub use alp::*; use linkme::distributed_slice; use vortex::array::{EncodingRef, ENCODINGS}; diff --git a/vortex-alp/src/serde.rs b/vortex-alp/src/serde.rs index 58ef3e090e..3c20f746f5 100644 --- a/vortex-alp/src/serde.rs +++ b/vortex-alp/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex-alp/src/stats.rs b/vortex-alp/src/stats.rs index f19d5a6e81..3db84f213d 100644 --- a/vortex-alp/src/stats.rs +++ b/vortex-alp/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use crate::ALPArray; diff --git a/vortex-dict/src/compress.rs b/vortex-dict/src/compress.rs index 257c9df053..89b08eeced 100644 --- a/vortex-dict/src/compress.rs +++ b/vortex-dict/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::hash::{Hash, Hasher}; use ahash::RandomState; diff --git a/vortex-dict/src/dict.rs b/vortex-dict/src/dict.rs index 0a96198833..95488fffe9 100644 --- a/vortex-dict/src/dict.rs +++ b/vortex-dict/src/dict.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex-dict/src/downcast.rs b/vortex-dict/src/downcast.rs index 5e9614e455..d298f96d8c 100644 --- a/vortex-dict/src/downcast.rs +++ b/vortex-dict/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::DictArray; diff --git a/vortex-dict/src/lib.rs b/vortex-dict/src/lib.rs index afef63b7da..f9a852f0ab 100644 --- a/vortex-dict/src/lib.rs +++ b/vortex-dict/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use linkme::distributed_slice; use vortex::array::{EncodingRef, ENCODINGS}; diff --git a/vortex-dict/src/serde.rs b/vortex-dict/src/serde.rs index 59ff2aec3d..a9f32f1250 100644 --- a/vortex-dict/src/serde.rs +++ b/vortex-dict/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use vortex::array::{Array, ArrayRef}; diff --git a/vortex-dict/src/stats.rs b/vortex-dict/src/stats.rs index e8b647b070..9b5b2d10ff 100644 --- a/vortex-dict/src/stats.rs +++ b/vortex-dict/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::stats::{Stat, StatsCompute, StatsSet}; use crate::dict::DictArray; diff --git a/vortex-ffor/src/compress.rs b/vortex-ffor/src/compress.rs index 71c6db7c2e..3e1ed8d0c1 100644 --- a/vortex-ffor/src/compress.rs +++ b/vortex-ffor/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use log::debug; use crate::downcast::DowncastFFOR; diff --git a/vortex-ffor/src/downcast.rs b/vortex-ffor/src/downcast.rs index cb06b72390..02ed17e63f 100644 --- a/vortex-ffor/src/downcast.rs +++ b/vortex-ffor/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::FFORArray; diff --git a/vortex-ffor/src/ffor.rs b/vortex-ffor/src/ffor.rs index 613c945bb1..aefd96c47c 100644 --- a/vortex-ffor/src/ffor.rs +++ b/vortex-ffor/src/ffor.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex-ffor/src/lib.rs b/vortex-ffor/src/lib.rs index 66482fbe64..fdfe4dc597 100644 --- a/vortex-ffor/src/lib.rs +++ b/vortex-ffor/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub use ffor::*; use linkme::distributed_slice; use vortex::array::{EncodingRef, ENCODINGS}; diff --git a/vortex-ffor/src/serde.rs b/vortex-ffor/src/serde.rs index cc55dc5889..dbdf056623 100644 --- a/vortex-ffor/src/serde.rs +++ b/vortex-ffor/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use vortex::array::{Array, ArrayRef}; diff --git a/vortex-ffor/src/stats.rs b/vortex-ffor/src/stats.rs index c0372e99aa..1e533aa550 100644 --- a/vortex-ffor/src/stats.rs +++ b/vortex-ffor/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use crate::FFORArray; diff --git a/vortex-ree/src/compress.rs b/vortex-ree/src/compress.rs index 46836951af..aa352e9d7f 100644 --- a/vortex-ree/src/compress.rs +++ b/vortex-ree/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use codecz::AlignedAllocator; use vortex::array::downcast::DowncastArrayBuiltin; use vortex::array::primitive::{PrimitiveArray, PRIMITIVE_ENCODING}; diff --git a/vortex-ree/src/downcast.rs b/vortex-ree/src/downcast.rs index 22818cb18c..e2035ccf86 100644 --- a/vortex-ree/src/downcast.rs +++ b/vortex-ree/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::REEArray; diff --git a/vortex-ree/src/lib.rs b/vortex-ree/src/lib.rs index 7fecbf9c23..feaddffb1b 100644 --- a/vortex-ree/src/lib.rs +++ b/vortex-ree/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use linkme::distributed_slice; use vortex::array::{EncodingRef, ENCODINGS}; diff --git a/vortex-ree/src/ree.rs b/vortex-ree/src/ree.rs index 2150a89f76..99e81a4edc 100644 --- a/vortex-ree/src/ree.rs +++ b/vortex-ree/src/ree.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::cmp::min; use std::marker::PhantomData; diff --git a/vortex-ree/src/serde.rs b/vortex-ree/src/serde.rs index 9134ee9060..2a3b7b3d59 100644 --- a/vortex-ree/src/serde.rs +++ b/vortex-ree/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use vortex::array::{Array, ArrayRef}; diff --git a/vortex-ree/src/stats.rs b/vortex-ree/src/stats.rs index b5bda96c3d..60b67db025 100644 --- a/vortex-ree/src/stats.rs +++ b/vortex-ree/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::REEArray; use vortex::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex-roaring/src/boolean/compress.rs b/vortex-roaring/src/boolean/compress.rs index 87c76f62e9..4bb550e928 100644 --- a/vortex-roaring/src/boolean/compress.rs +++ b/vortex-roaring/src/boolean/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use croaring::Bitmap; use vortex::array::bool::{BoolArray, BOOL_ENCODING}; diff --git a/vortex-roaring/src/boolean/mod.rs b/vortex-roaring/src/boolean/mod.rs index 49856c882c..f4d838ab79 100644 --- a/vortex-roaring/src/boolean/mod.rs +++ b/vortex-roaring/src/boolean/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex-roaring/src/boolean/serde.rs b/vortex-roaring/src/boolean/serde.rs index b624b734c4..9488bb40f6 100644 --- a/vortex-roaring/src/boolean/serde.rs +++ b/vortex-roaring/src/boolean/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex-roaring/src/boolean/stats.rs b/vortex-roaring/src/boolean/stats.rs index 9c7a141a0b..aa541e67f1 100644 --- a/vortex-roaring/src/boolean/stats.rs +++ b/vortex-roaring/src/boolean/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::Array; use vortex::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex-roaring/src/downcast.rs b/vortex-roaring/src/downcast.rs index 2ad13158e5..bb9ef1f4f8 100644 --- a/vortex-roaring/src/downcast.rs +++ b/vortex-roaring/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::{RoaringBoolArray, RoaringIntArray}; diff --git a/vortex-roaring/src/integer/compress.rs b/vortex-roaring/src/integer/compress.rs index 2104108dd7..e9ed04848f 100644 --- a/vortex-roaring/src/integer/compress.rs +++ b/vortex-roaring/src/integer/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use croaring::Bitmap; use log::debug; use num_traits::NumCast; diff --git a/vortex-roaring/src/integer/mod.rs b/vortex-roaring/src/integer/mod.rs index 72262dcc65..6a974c0a9a 100644 --- a/vortex-roaring/src/integer/mod.rs +++ b/vortex-roaring/src/integer/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex-roaring/src/integer/serde.rs b/vortex-roaring/src/integer/serde.rs index dd99d59715..d35c171eb9 100644 --- a/vortex-roaring/src/integer/serde.rs +++ b/vortex-roaring/src/integer/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex-roaring/src/integer/stats.rs b/vortex-roaring/src/integer/stats.rs index 14579eeb96..d0a4f32f34 100644 --- a/vortex-roaring/src/integer/stats.rs +++ b/vortex-roaring/src/integer/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::stats::{Stat, StatsCompute, StatsSet}; use crate::RoaringIntArray; diff --git a/vortex-roaring/src/lib.rs b/vortex-roaring/src/lib.rs index 0e844e00c8..56bcac1abf 100644 --- a/vortex-roaring/src/lib.rs +++ b/vortex-roaring/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use linkme::distributed_slice; pub use boolean::*; diff --git a/vortex-roaring/src/serde_tests.rs b/vortex-roaring/src/serde_tests.rs index 71a06a9a7a..e696551646 100644 --- a/vortex-roaring/src/serde_tests.rs +++ b/vortex-roaring/src/serde_tests.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + #[cfg(test)] pub mod test { use std::io; diff --git a/vortex-zigzag/src/compress.rs b/vortex-zigzag/src/compress.rs index f2e6f97aa8..1558993a1e 100644 --- a/vortex-zigzag/src/compress.rs +++ b/vortex-zigzag/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use zigzag::ZigZag; use crate::downcast::DowncastZigzag; diff --git a/vortex-zigzag/src/downcast.rs b/vortex-zigzag/src/downcast.rs index 5e2092170b..a798f7ee80 100644 --- a/vortex-zigzag/src/downcast.rs +++ b/vortex-zigzag/src/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use vortex::array::{Array, ArrayRef}; use crate::ZigZagArray; diff --git a/vortex-zigzag/src/lib.rs b/vortex-zigzag/src/lib.rs index 55da8b3bcd..ebaa9f9da6 100644 --- a/vortex-zigzag/src/lib.rs +++ b/vortex-zigzag/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use linkme::distributed_slice; use vortex::array::{EncodingRef, ENCODINGS}; diff --git a/vortex-zigzag/src/serde.rs b/vortex-zigzag/src/serde.rs index 2af02e2f49..1be7367efd 100644 --- a/vortex-zigzag/src/serde.rs +++ b/vortex-zigzag/src/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex-zigzag/src/stats.rs b/vortex-zigzag/src/stats.rs index 1feac0aff1..84564d40dd 100644 --- a/vortex-zigzag/src/stats.rs +++ b/vortex-zigzag/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use vortex::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex-zigzag/src/zigzag.rs b/vortex-zigzag/src/zigzag.rs index d095a39bfb..37c2d996f2 100644 --- a/vortex-zigzag/src/zigzag.rs +++ b/vortex-zigzag/src/zigzag.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/bool/compress.rs b/vortex/src/array/bool/compress.rs index f31c454670..089a69e371 100644 --- a/vortex/src/array/bool/compress.rs +++ b/vortex/src/array/bool/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::bool::{BoolEncoding, BOOL_ENCODING}; use crate::array::{Array, ArrayRef}; use crate::compress::{ diff --git a/vortex/src/array/bool/mod.rs b/vortex/src/array/bool/mod.rs index e41be912e7..8e61902779 100644 --- a/vortex/src/array/bool/mod.rs +++ b/vortex/src/array/bool/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::iter; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/bool/serde.rs b/vortex/src/array/bool/serde.rs index 7bf1262db9..59e3ee989c 100644 --- a/vortex/src/array/bool/serde.rs +++ b/vortex/src/array/bool/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use arrow::buffer::BooleanBuffer; diff --git a/vortex/src/array/bool/stats.rs b/vortex/src/array/bool/stats.rs index ddf83852d4..d198ea69d7 100644 --- a/vortex/src/array/bool/stats.rs +++ b/vortex/src/array/bool/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use crate::array::bool::BoolArray; diff --git a/vortex/src/array/chunked/compress.rs b/vortex/src/array/chunked/compress.rs index dea917e6f7..324a149205 100644 --- a/vortex/src/array/chunked/compress.rs +++ b/vortex/src/array/chunked/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use rayon::prelude::*; use crate::array::chunked::{ChunkedArray, ChunkedEncoding, CHUNKED_ENCODING}; diff --git a/vortex/src/array/chunked/mod.rs b/vortex/src/array/chunked/mod.rs index eb1fb5f837..223a5afdc3 100644 --- a/vortex/src/array/chunked/mod.rs +++ b/vortex/src/array/chunked/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; use std::vec::IntoIter; diff --git a/vortex/src/array/chunked/serde.rs b/vortex/src/array/chunked/serde.rs index 34b95a8b05..aeec510172 100644 --- a/vortex/src/array/chunked/serde.rs +++ b/vortex/src/array/chunked/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use crate::array::chunked::{ChunkedArray, ChunkedEncoding}; diff --git a/vortex/src/array/chunked/stats.rs b/vortex/src/array/chunked/stats.rs index b58adb2dc7..6ff122eec2 100644 --- a/vortex/src/array/chunked/stats.rs +++ b/vortex/src/array/chunked/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::chunked::ChunkedArray; use crate::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex/src/array/constant/compress.rs b/vortex/src/array/constant/compress.rs index 0826d5b98c..1edd8c7fbc 100644 --- a/vortex/src/array/constant/compress.rs +++ b/vortex/src/array/constant/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::constant::{ConstantArray, ConstantEncoding}; use crate::array::{Array, ArrayRef}; use crate::compress::{CompressConfig, CompressCtx, Compressor, EncodingCompression}; diff --git a/vortex/src/array/constant/compute.rs b/vortex/src/array/constant/compute.rs index e46daaa542..2a34f552f6 100644 --- a/vortex/src/array/constant/compute.rs +++ b/vortex/src/array/constant/compute.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::constant::ConstantArray; use crate::compute::take::TakeFn; use crate::compute::ArrayCompute; diff --git a/vortex/src/array/constant/mod.rs b/vortex/src/array/constant/mod.rs index 42527c948d..d91838d259 100644 --- a/vortex/src/array/constant/mod.rs +++ b/vortex/src/array/constant/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/constant/serde.rs b/vortex/src/array/constant/serde.rs index 47c7a46d32..922a50d67d 100644 --- a/vortex/src/array/constant/serde.rs +++ b/vortex/src/array/constant/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use crate::array::constant::{ConstantArray, ConstantEncoding}; diff --git a/vortex/src/array/constant/stats.rs b/vortex/src/array/constant/stats.rs index e8bdd7df5d..fc7214d376 100644 --- a/vortex/src/array/constant/stats.rs +++ b/vortex/src/array/constant/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use crate::array::constant::ConstantArray; diff --git a/vortex/src/array/constant/take.rs b/vortex/src/array/constant/take.rs index 0760e501fd..4ffa0acf54 100644 --- a/vortex/src/array/constant/take.rs +++ b/vortex/src/array/constant/take.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::constant::ConstantArray; use crate::array::{Array, ArrayRef}; use crate::compute::take::TakeFn; diff --git a/vortex/src/array/downcast.rs b/vortex/src/array/downcast.rs index d6c67f8d6e..99d37e3377 100644 --- a/vortex/src/array/downcast.rs +++ b/vortex/src/array/downcast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::bool::BoolArray; use crate::array::chunked::ChunkedArray; use crate::array::constant::ConstantArray; diff --git a/vortex/src/array/mod.rs b/vortex/src/array/mod.rs index 8be11fd2f1..f22e09e039 100644 --- a/vortex/src/array/mod.rs +++ b/vortex/src/array/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Debug, Display, Formatter}; diff --git a/vortex/src/array/primitive/compress.rs b/vortex/src/array/primitive/compress.rs index 48f116faf1..1e50beb4d4 100644 --- a/vortex/src/array/primitive/compress.rs +++ b/vortex/src/array/primitive/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::primitive::{PrimitiveEncoding, PRIMITIVE_ENCODING}; use crate::array::{Array, ArrayRef}; use crate::compress::{ diff --git a/vortex/src/array/primitive/mod.rs b/vortex/src/array/primitive/mod.rs index 910433c33d..c0d6ba7d7c 100644 --- a/vortex/src/array/primitive/mod.rs +++ b/vortex/src/array/primitive/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use core::cmp::min; use std::any::Any; use std::iter; diff --git a/vortex/src/array/primitive/serde.rs b/vortex/src/array/primitive/serde.rs index af2c7d7ee8..a3c1a806f0 100644 --- a/vortex/src/array/primitive/serde.rs +++ b/vortex/src/array/primitive/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex/src/array/primitive/stats.rs b/vortex/src/array/primitive/stats.rs index ef066abcce..402b744aec 100644 --- a/vortex/src/array/primitive/stats.rs +++ b/vortex/src/array/primitive/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashMap; use std::marker::PhantomData; diff --git a/vortex/src/array/sparse/compress.rs b/vortex/src/array/sparse/compress.rs index c4d2afbb70..e4721e0440 100644 --- a/vortex/src/array/sparse/compress.rs +++ b/vortex/src/array/sparse/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::downcast::DowncastArrayBuiltin; use crate::array::sparse::{SparseArray, SparseEncoding, SPARSE_ENCODING}; use crate::array::{Array, ArrayRef}; diff --git a/vortex/src/array/sparse/mod.rs b/vortex/src/array/sparse/mod.rs index 95d4f5cd0e..e60027ee02 100644 --- a/vortex/src/array/sparse/mod.rs +++ b/vortex/src/array/sparse/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::iter; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/sparse/serde.rs b/vortex/src/array/sparse/serde.rs index b9de6afb0b..b9b6eb708b 100644 --- a/vortex/src/array/sparse/serde.rs +++ b/vortex/src/array/sparse/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex/src/array/sparse/stats.rs b/vortex/src/array/sparse/stats.rs index 3e21325261..7a815c8554 100644 --- a/vortex/src/array/sparse/stats.rs +++ b/vortex/src/array/sparse/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::sparse::SparseArray; use crate::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex/src/array/struct_/compress.rs b/vortex/src/array/struct_/compress.rs index 5f546cbbcf..e318f49521 100644 --- a/vortex/src/array/struct_/compress.rs +++ b/vortex/src/array/struct_/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::downcast::DowncastArrayBuiltin; use crate::array::struct_::{StructArray, StructEncoding, STRUCT_ENCODING}; use crate::array::{Array, ArrayRef}; diff --git a/vortex/src/array/struct_/mod.rs b/vortex/src/array/struct_/mod.rs index f3562d1f96..904714994b 100644 --- a/vortex/src/array/struct_/mod.rs +++ b/vortex/src/array/struct_/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/struct_/serde.rs b/vortex/src/array/struct_/serde.rs index ddcbbd50c6..63baf8b471 100644 --- a/vortex/src/array/struct_/serde.rs +++ b/vortex/src/array/struct_/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::ErrorKind; diff --git a/vortex/src/array/struct_/stats.rs b/vortex/src/array/struct_/stats.rs index 0a1e944afe..788eba45db 100644 --- a/vortex/src/array/struct_/stats.rs +++ b/vortex/src/array/struct_/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::struct_::StructArray; use crate::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex/src/array/typed/compress.rs b/vortex/src/array/typed/compress.rs index 0b32636517..e309851342 100644 --- a/vortex/src/array/typed/compress.rs +++ b/vortex/src/array/typed/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::downcast::DowncastArrayBuiltin; use crate::array::typed::{TypedArray, TypedEncoding, TYPED_ENCODING}; use crate::array::{Array, ArrayRef}; diff --git a/vortex/src/array/typed/mod.rs b/vortex/src/array/typed/mod.rs index b9822a94c9..f845a4609c 100644 --- a/vortex/src/array/typed/mod.rs +++ b/vortex/src/array/typed/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/typed/serde.rs b/vortex/src/array/typed/serde.rs index 60db7c33e7..3d7632bfe3 100644 --- a/vortex/src/array/typed/serde.rs +++ b/vortex/src/array/typed/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use crate::array::typed::{TypedArray, TypedEncoding}; diff --git a/vortex/src/array/typed/stats.rs b/vortex/src/array/typed/stats.rs index bff00d42dc..7358684021 100644 --- a/vortex/src/array/typed/stats.rs +++ b/vortex/src/array/typed/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::typed::TypedArray; use crate::stats::{Stat, StatsCompute, StatsSet}; diff --git a/vortex/src/array/varbin/compress.rs b/vortex/src/array/varbin/compress.rs index 05ea97a4bd..103e0a71fb 100644 --- a/vortex/src/array/varbin/compress.rs +++ b/vortex/src/array/varbin/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::downcast::DowncastArrayBuiltin; use crate::array::varbin::{VarBinArray, VarBinEncoding, VARBIN_ENCODING}; use crate::array::{Array, ArrayRef}; diff --git a/vortex/src/array/varbin/mod.rs b/vortex/src/array/varbin/mod.rs index abd028ec28..f1dc46d3e5 100644 --- a/vortex/src/array/varbin/mod.rs +++ b/vortex/src/array/varbin/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::iter; use std::sync::{Arc, RwLock}; diff --git a/vortex/src/array/varbin/serde.rs b/vortex/src/array/varbin/serde.rs index f6966effa5..90695c4781 100644 --- a/vortex/src/array/varbin/serde.rs +++ b/vortex/src/array/varbin/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use crate::array::varbin::{VarBinArray, VarBinEncoding}; diff --git a/vortex/src/array/varbin/stats.rs b/vortex/src/array/varbin/stats.rs index 12f3743a29..b318e1d1c7 100644 --- a/vortex/src/array/varbin/stats.rs +++ b/vortex/src/array/varbin/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::cmp::Ordering; use std::collections::HashMap; diff --git a/vortex/src/array/varbinview/compress.rs b/vortex/src/array/varbinview/compress.rs index 6a4978dc11..7957defc50 100644 --- a/vortex/src/array/varbinview/compress.rs +++ b/vortex/src/array/varbinview/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::downcast::DowncastArrayBuiltin; use crate::array::varbinview::{VarBinViewArray, VarBinViewEncoding, VARBINVIEW_ENCODING}; use crate::array::{Array, ArrayRef}; diff --git a/vortex/src/array/varbinview/mod.rs b/vortex/src/array/varbinview/mod.rs index 544e6497b5..8b04782b2a 100644 --- a/vortex/src/array/varbinview/mod.rs +++ b/vortex/src/array/varbinview/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + mod compress; mod serde; diff --git a/vortex/src/array/varbinview/serde.rs b/vortex/src/array/varbinview/serde.rs index 3fb5910f7a..25d01e5d09 100644 --- a/vortex/src/array/varbinview/serde.rs +++ b/vortex/src/array/varbinview/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use crate::array::varbinview::{VarBinViewArray, VarBinViewEncoding}; diff --git a/vortex/src/arrow/aligned_iter.rs b/vortex/src/arrow/aligned_iter.rs index d52fc44671..aa863bbc21 100644 --- a/vortex/src/arrow/aligned_iter.rs +++ b/vortex/src/arrow/aligned_iter.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::{Array as ArrowArray, ArrayRef}; pub struct AlignedArray { diff --git a/vortex/src/arrow/compute/mod.rs b/vortex/src/arrow/compute/mod.rs index 9ca7476da5..1a86082651 100644 --- a/vortex/src/arrow/compute/mod.rs +++ b/vortex/src/arrow/compute/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub use repeat::*; mod repeat; diff --git a/vortex/src/arrow/compute/repeat.rs b/vortex/src/arrow/compute/repeat.rs index 662775e721..d6ec8beb31 100644 --- a/vortex/src/arrow/compute/repeat.rs +++ b/vortex/src/arrow/compute/repeat.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; use arrow::array::cast::AsArray; diff --git a/vortex/src/arrow/convert.rs b/vortex/src/arrow/convert.rs index a0a032a4f2..086833105c 100644 --- a/vortex/src/arrow/convert.rs +++ b/vortex/src/arrow/convert.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::iter::zip; use std::sync::Arc; diff --git a/vortex/src/arrow/mod.rs b/vortex/src/arrow/mod.rs index e2c9df1c2f..eb6e461bef 100644 --- a/vortex/src/arrow/mod.rs +++ b/vortex/src/arrow/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::ArrayRef; use itertools::Itertools; diff --git a/vortex/src/compress.rs b/vortex/src/compress.rs index 687725387d..e94a004a31 100644 --- a/vortex/src/compress.rs +++ b/vortex/src/compress.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::collections::HashSet; use std::fmt::Debug; diff --git a/vortex/src/compute/add.rs b/vortex/src/compute/add.rs index 6ef1002204..ec62f45db7 100644 --- a/vortex/src/compute/add.rs +++ b/vortex/src/compute/add.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::constant::ConstantArray; use crate::array::{Array, ArrayKind, ArrayRef}; use crate::error::{VortexError, VortexResult}; diff --git a/vortex/src/compute/as_contiguous.rs b/vortex/src/compute/as_contiguous.rs index e1e1295e8c..a8fc939232 100644 --- a/vortex/src/compute/as_contiguous.rs +++ b/vortex/src/compute/as_contiguous.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::buffer::BooleanBuffer; use itertools::Itertools; diff --git a/vortex/src/compute/cast.rs b/vortex/src/compute/cast.rs index 4cd56bee8c..e1d9a99274 100644 --- a/vortex/src/compute/cast.rs +++ b/vortex/src/compute/cast.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::dtype::DType; use crate::scalar::Scalar; diff --git a/vortex/src/compute/mod.rs b/vortex/src/compute/mod.rs index 5def0fc078..6eea3060c6 100644 --- a/vortex/src/compute/mod.rs +++ b/vortex/src/compute/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use take::TakeFn; pub mod add; diff --git a/vortex/src/compute/repeat.rs b/vortex/src/compute/repeat.rs index 5fc4e2afe5..b90b78e815 100644 --- a/vortex/src/compute/repeat.rs +++ b/vortex/src/compute/repeat.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::constant::ConstantArray; use crate::array::{Array, ArrayRef}; use crate::scalar::Scalar; diff --git a/vortex/src/compute/search_sorted.rs b/vortex/src/compute/search_sorted.rs index 42677dd9e7..20d511902f 100644 --- a/vortex/src/compute/search_sorted.rs +++ b/vortex/src/compute/search_sorted.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::Array; use crate::error::VortexResult; use crate::polars::IntoPolarsSeries; diff --git a/vortex/src/compute/take.rs b/vortex/src/compute/take.rs index cbcaa458f1..f2bc2a2d69 100644 --- a/vortex/src/compute/take.rs +++ b/vortex/src/compute/take.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::array::{Array, ArrayRef}; use crate::error::{VortexError, VortexResult}; diff --git a/vortex/src/dtype.rs b/vortex/src/dtype.rs index bea2b363d1..e4a2586ede 100644 --- a/vortex/src/dtype.rs +++ b/vortex/src/dtype.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::fmt::{Debug, Display, Formatter}; use std::sync::Arc; diff --git a/vortex/src/encode.rs b/vortex/src/encode.rs index 168abcd40d..41b635a76e 100644 --- a/vortex/src/encode.rs +++ b/vortex/src/encode.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; use arrow::array::cast::AsArray; diff --git a/vortex/src/error.rs b/vortex/src/error.rs index 9fa652a6f9..f73dd2a3ca 100644 --- a/vortex/src/error.rs +++ b/vortex/src/error.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::borrow::Cow; use std::env; use std::fmt::{self, Display, Formatter}; diff --git a/vortex/src/formatter.rs b/vortex/src/formatter.rs index 495476d520..509597896e 100644 --- a/vortex/src/formatter.rs +++ b/vortex/src/formatter.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::fmt::Formatter; use humansize::{format_size, DECIMAL}; diff --git a/vortex/src/lib.rs b/vortex/src/lib.rs index fad5ab605f..99ca8aaf9f 100644 --- a/vortex/src/lib.rs +++ b/vortex/src/lib.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + pub mod array; pub mod arrow; pub mod scalar; diff --git a/vortex/src/polars.rs b/vortex/src/polars.rs index 7eb50a713c..271b302b1a 100644 --- a/vortex/src/polars.rs +++ b/vortex/src/polars.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::{Array as ArrowArray, ArrayRef as ArrowArrayRef}; use polars_arrow::array::from_data; use polars_core::prelude::{AnyValue, Series}; diff --git a/vortex/src/ptype.rs b/vortex/src/ptype.rs index 4755955b20..f1c153fc04 100644 --- a/vortex/src/ptype.rs +++ b/vortex/src/ptype.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::fmt::{Debug, Display}; use std::panic::RefUnwindSafe; diff --git a/vortex/src/sampling.rs b/vortex/src/sampling.rs index 979deb70d8..31ead0c280 100644 --- a/vortex/src/sampling.rs +++ b/vortex/src/sampling.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use rand::Rng; pub fn stratified_slices( diff --git a/vortex/src/scalar/arrow.rs b/vortex/src/scalar/arrow.rs index 13ce1700c1..9197d44331 100644 --- a/vortex/src/scalar/arrow.rs +++ b/vortex/src/scalar/arrow.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use arrow::array::types::{ Float16Type, Float32Type, Float64Type, Int16Type, Int32Type, Int64Type, Int8Type, UInt16Type, UInt32Type, UInt64Type, UInt8Type, diff --git a/vortex/src/scalar/binary.rs b/vortex/src/scalar/binary.rs index ecaded22fc..39e6972b16 100644 --- a/vortex/src/scalar/binary.rs +++ b/vortex/src/scalar/binary.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::dtype::{DType, Nullability}; use crate::error::{VortexError, VortexResult}; use crate::scalar::Scalar; diff --git a/vortex/src/scalar/bool.rs b/vortex/src/scalar/bool.rs index 5a5d1be662..5a3f33b1af 100644 --- a/vortex/src/scalar/bool.rs +++ b/vortex/src/scalar/bool.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; diff --git a/vortex/src/scalar/equal.rs b/vortex/src/scalar/equal.rs index f5fc991a0b..155c253c5e 100644 --- a/vortex/src/scalar/equal.rs +++ b/vortex/src/scalar/equal.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::sync::Arc; use crate::scalar::localtime::LocalTimeScalar; diff --git a/vortex/src/scalar/list.rs b/vortex/src/scalar/list.rs index 8636ae6926..d5f357305d 100644 --- a/vortex/src/scalar/list.rs +++ b/vortex/src/scalar/list.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; diff --git a/vortex/src/scalar/localtime.rs b/vortex/src/scalar/localtime.rs index 9a4ef52cf1..d3262a26a6 100644 --- a/vortex/src/scalar/localtime.rs +++ b/vortex/src/scalar/localtime.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::dtype::{DType, Nullability, TimeUnit}; use crate::error::VortexResult; use crate::scalar::{PScalar, Scalar}; diff --git a/vortex/src/scalar/mod.rs b/vortex/src/scalar/mod.rs index 0f7e287aa5..0272759a5e 100644 --- a/vortex/src/scalar/mod.rs +++ b/vortex/src/scalar/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Debug, Display}; diff --git a/vortex/src/scalar/null.rs b/vortex/src/scalar/null.rs index 8d0ea4418d..efce4b7ee2 100644 --- a/vortex/src/scalar/null.rs +++ b/vortex/src/scalar/null.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; diff --git a/vortex/src/scalar/nullable.rs b/vortex/src/scalar/nullable.rs index 61ffb6a5d8..8aa50ba47e 100644 --- a/vortex/src/scalar/nullable.rs +++ b/vortex/src/scalar/nullable.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; use std::mem::size_of; diff --git a/vortex/src/scalar/ord.rs b/vortex/src/scalar/ord.rs index c60ccd5f33..19c30e09ec 100644 --- a/vortex/src/scalar/ord.rs +++ b/vortex/src/scalar/ord.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use crate::scalar::{ BinaryScalar, BoolScalar, LocalTimeScalar, NullableScalar, PScalar, Scalar, StructScalar, Utf8Scalar, diff --git a/vortex/src/scalar/primitive.rs b/vortex/src/scalar/primitive.rs index 088f4de22c..d3e5a25a70 100644 --- a/vortex/src/scalar/primitive.rs +++ b/vortex/src/scalar/primitive.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; use std::mem::size_of; diff --git a/vortex/src/scalar/serde.rs b/vortex/src/scalar/serde.rs index 7b112ff691..08a72cbfa9 100644 --- a/vortex/src/scalar/serde.rs +++ b/vortex/src/scalar/serde.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::{ErrorKind, Read}; diff --git a/vortex/src/scalar/struct_.rs b/vortex/src/scalar/struct_.rs index f0761e3303..f1817ceeff 100644 --- a/vortex/src/scalar/struct_.rs +++ b/vortex/src/scalar/struct_.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::cmp::Ordering; use std::fmt::{Display, Formatter}; diff --git a/vortex/src/scalar/utf8.rs b/vortex/src/scalar/utf8.rs index 975b5ebdaf..f351d35408 100644 --- a/vortex/src/scalar/utf8.rs +++ b/vortex/src/scalar/utf8.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::any::Any; use std::fmt::{Display, Formatter}; diff --git a/vortex/src/serde/dtype.rs b/vortex/src/serde/dtype.rs index 19caca7e11..a5b1e3aa39 100644 --- a/vortex/src/serde/dtype.rs +++ b/vortex/src/serde/dtype.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::{ErrorKind, Read}; use std::sync::Arc; diff --git a/vortex/src/serde/mod.rs b/vortex/src/serde/mod.rs index 8241577558..771ab3dd36 100644 --- a/vortex/src/serde/mod.rs +++ b/vortex/src/serde/mod.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::io; use std::io::{ErrorKind, Read, Write}; diff --git a/vortex/src/stats.rs b/vortex/src/stats.rs index e559f2d41c..690ef767d4 100644 --- a/vortex/src/stats.rs +++ b/vortex/src/stats.rs @@ -1,3 +1,17 @@ +// (c) Copyright 2024 Fulcrum Technologies, Inc. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + use std::cmp::Ordering; use std::collections::hash_map::Entry; use std::collections::HashMap;