red-adbc 1.6.0 → 1.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE.txt +532 -64
- data/README.md +15 -0
- data/lib/adbc/connection.rb +25 -0
- data/lib/adbc/loader.rb +14 -17
- data/lib/adbc/statement.rb +10 -0
- data/lib/adbc/version.rb +1 -1
- data/lib/adbc.rb +2 -16
- metadata +7 -12
- data/dependency-check/Rakefile +0 -47
- data/lib/adbc/arrow-connection.rb +0 -36
- data/lib/adbc/arrow-statement.rb +0 -65
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f69638320235dde3057699cf4001ade6f5ed371f39e80890c7afc8f017c6fda4
|
4
|
+
data.tar.gz: cb5d454f7af748c396455ec175cf5bf30d95a36f65efbe5fe6efb502f111b685
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ece4deacfaf8116bada4e114e471b82d5b3548cb0a8be256e1bfd8c6f55c1b2b494105ceb48852085a3982c7318d8786b4765b4e29f0074629797de1f907897f
|
7
|
+
data.tar.gz: 1331935b4d4aef0b577a425ca243aba9abd7445d72d33b7381caa3184c84215e4a2b71b3c2d378d39774a3aa31de23c2de702718e147e367ea1086ab3eacd7cb
|
data/LICENSE.txt
CHANGED
@@ -229,6 +229,31 @@ public domain, released using the CC0 1.0 Universal dedication (*).
|
|
229
229
|
|
230
230
|
--------------------------------------------------------------------------------
|
231
231
|
|
232
|
+
The files in c/vendor/toml++ contain code from
|
233
|
+
|
234
|
+
https://github.com/marzer/tomlplusplus
|
235
|
+
|
236
|
+
and have the following copyright notice:
|
237
|
+
|
238
|
+
MIT License
|
239
|
+
|
240
|
+
Copyright (c) Mark Gillard <mark.gillard@outlook.com.au>
|
241
|
+
|
242
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
243
|
+
documentation files (the "Software"), to deal in the Software without restriction, including without limitation the
|
244
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to
|
245
|
+
permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
246
|
+
|
247
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the
|
248
|
+
Software.
|
249
|
+
|
250
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
251
|
+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
252
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
253
|
+
OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
254
|
+
|
255
|
+
--------------------------------------------------------------------------------
|
256
|
+
|
232
257
|
The files python/*/*/_version.py and python/*/*/_static_version.py
|
233
258
|
contain code from
|
234
259
|
|
@@ -379,6 +404,42 @@ https://www.openssl.org/source/license.html
|
|
379
404
|
distributions, like the Python wheels. SQLite is public domain.
|
380
405
|
|
381
406
|
|
407
|
+
--------------------------------------------------------------------------------
|
408
|
+
|
409
|
+
3rdparty dependency cloud.google.com/go
|
410
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
411
|
+
cloud.google.com/go is under the Apache-2.0 license.
|
412
|
+
|
413
|
+
--------------------------------------------------------------------------------
|
414
|
+
|
415
|
+
3rdparty dependency cloud.google.com/go/auth
|
416
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
417
|
+
cloud.google.com/go/auth is under the Apache-2.0 license.
|
418
|
+
|
419
|
+
--------------------------------------------------------------------------------
|
420
|
+
|
421
|
+
3rdparty dependency cloud.google.com/go/auth/oauth2adapt
|
422
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
423
|
+
cloud.google.com/go/auth/oauth2adapt is under the Apache-2.0 license.
|
424
|
+
|
425
|
+
--------------------------------------------------------------------------------
|
426
|
+
|
427
|
+
3rdparty dependency cloud.google.com/go/bigquery
|
428
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
429
|
+
cloud.google.com/go/bigquery is under the Apache-2.0 license.
|
430
|
+
|
431
|
+
--------------------------------------------------------------------------------
|
432
|
+
|
433
|
+
3rdparty dependency cloud.google.com/go/compute/metadata
|
434
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
435
|
+
cloud.google.com/go/compute/metadata is under the Apache-2.0 license.
|
436
|
+
|
437
|
+
--------------------------------------------------------------------------------
|
438
|
+
|
439
|
+
3rdparty dependency cloud.google.com/go/iam
|
440
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
441
|
+
cloud.google.com/go/iam is under the Apache-2.0 license.
|
442
|
+
|
382
443
|
--------------------------------------------------------------------------------
|
383
444
|
|
384
445
|
3rdparty dependency github.com/99designs/keyring
|
@@ -489,13 +550,12 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azblob is under the MIT license.
|
|
489
550
|
SOFTWARE
|
490
551
|
--------------------------------------------------------------------------------
|
491
552
|
|
492
|
-
3rdparty dependency github.com/
|
553
|
+
3rdparty dependency github.com/BurntSushi/toml
|
493
554
|
is statically linked in certain binary distributions, like the Python wheels.
|
494
|
-
github.com/
|
495
|
-
|
496
|
-
MIT License
|
555
|
+
github.com/BurntSushi/toml is under the MIT license.
|
556
|
+
The MIT License (MIT)
|
497
557
|
|
498
|
-
Copyright (c)
|
558
|
+
Copyright (c) 2013 TOML authors
|
499
559
|
|
500
560
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
501
561
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -504,16 +564,16 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
504
564
|
copies of the Software, and to permit persons to whom the Software is
|
505
565
|
furnished to do so, subject to the following conditions:
|
506
566
|
|
507
|
-
The above copyright notice and this permission notice shall be included in
|
508
|
-
copies or substantial portions of the Software.
|
567
|
+
The above copyright notice and this permission notice shall be included in
|
568
|
+
all copies or substantial portions of the Software.
|
509
569
|
|
510
570
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
511
571
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
512
572
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
513
573
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
514
574
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
515
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
516
|
-
SOFTWARE.
|
575
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
576
|
+
THE SOFTWARE.
|
517
577
|
|
518
578
|
--------------------------------------------------------------------------------
|
519
579
|
|
@@ -542,12 +602,6 @@ THE SOFTWARE.
|
|
542
602
|
|
543
603
|
--------------------------------------------------------------------------------
|
544
604
|
|
545
|
-
3rdparty dependency github.com/apache/thrift/lib/go/thrift
|
546
|
-
is statically linked in certain binary distributions, like the Python wheels.
|
547
|
-
github.com/apache/thrift/lib/go/thrift is under the Apache-2.0 license.
|
548
|
-
|
549
|
-
--------------------------------------------------------------------------------
|
550
|
-
|
551
605
|
3rdparty dependency github.com/aws/aws-sdk-go-v2
|
552
606
|
is statically linked in certain binary distributions, like the Python wheels.
|
553
607
|
github.com/aws/aws-sdk-go-v2 is under the Apache-2.0 license.
|
@@ -560,12 +614,24 @@ github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream is under the Apache-2.0 li
|
|
560
614
|
|
561
615
|
--------------------------------------------------------------------------------
|
562
616
|
|
617
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/config
|
618
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
619
|
+
github.com/aws/aws-sdk-go-v2/config is under the Apache-2.0 license.
|
620
|
+
|
621
|
+
--------------------------------------------------------------------------------
|
622
|
+
|
563
623
|
3rdparty dependency github.com/aws/aws-sdk-go-v2/credentials
|
564
624
|
is statically linked in certain binary distributions, like the Python wheels.
|
565
625
|
github.com/aws/aws-sdk-go-v2/credentials is under the Apache-2.0 license.
|
566
626
|
|
567
627
|
--------------------------------------------------------------------------------
|
568
628
|
|
629
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/feature/ec2/imds
|
630
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
631
|
+
github.com/aws/aws-sdk-go-v2/feature/ec2/imds is under the Apache-2.0 license.
|
632
|
+
|
633
|
+
--------------------------------------------------------------------------------
|
634
|
+
|
569
635
|
3rdparty dependency github.com/aws/aws-sdk-go-v2/feature/s3/manager
|
570
636
|
is statically linked in certain binary distributions, like the Python wheels.
|
571
637
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager is under the Apache-2.0 license.
|
@@ -584,6 +650,12 @@ github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 is under the Apache-2.0 licen
|
|
584
650
|
|
585
651
|
--------------------------------------------------------------------------------
|
586
652
|
|
653
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/ini
|
654
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
655
|
+
github.com/aws/aws-sdk-go-v2/internal/ini is under the Apache-2.0 license.
|
656
|
+
|
657
|
+
--------------------------------------------------------------------------------
|
658
|
+
|
587
659
|
3rdparty dependency github.com/aws/aws-sdk-go-v2/internal/sync/singleflight
|
588
660
|
is statically linked in certain binary distributions, like the Python wheels.
|
589
661
|
github.com/aws/aws-sdk-go-v2/internal/sync/singleflight is under the BSD-3-Clause license.
|
@@ -654,6 +726,24 @@ github.com/aws/aws-sdk-go-v2/service/s3 is under the Apache-2.0 license.
|
|
654
726
|
|
655
727
|
--------------------------------------------------------------------------------
|
656
728
|
|
729
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/sso
|
730
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
731
|
+
github.com/aws/aws-sdk-go-v2/service/sso is under the Apache-2.0 license.
|
732
|
+
|
733
|
+
--------------------------------------------------------------------------------
|
734
|
+
|
735
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/ssooidc
|
736
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
737
|
+
github.com/aws/aws-sdk-go-v2/service/ssooidc is under the Apache-2.0 license.
|
738
|
+
|
739
|
+
--------------------------------------------------------------------------------
|
740
|
+
|
741
|
+
3rdparty dependency github.com/aws/aws-sdk-go-v2/service/sts
|
742
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
743
|
+
github.com/aws/aws-sdk-go-v2/service/sts is under the Apache-2.0 license.
|
744
|
+
|
745
|
+
--------------------------------------------------------------------------------
|
746
|
+
|
657
747
|
3rdparty dependency github.com/aws/smithy-go
|
658
748
|
is statically linked in certain binary distributions, like the Python wheels.
|
659
749
|
github.com/aws/smithy-go is under the Apache-2.0 license.
|
@@ -721,6 +811,60 @@ THE SOFTWARE.
|
|
721
811
|
|
722
812
|
--------------------------------------------------------------------------------
|
723
813
|
|
814
|
+
3rdparty dependency github.com/cenkalti/backoff/v5
|
815
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
816
|
+
github.com/cenkalti/backoff/v5 is under the MIT license.
|
817
|
+
The MIT License (MIT)
|
818
|
+
|
819
|
+
Copyright (c) 2014 Cenk Altı
|
820
|
+
|
821
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
822
|
+
this software and associated documentation files (the "Software"), to deal in
|
823
|
+
the Software without restriction, including without limitation the rights to
|
824
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
825
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
826
|
+
subject to the following conditions:
|
827
|
+
|
828
|
+
The above copyright notice and this permission notice shall be included in all
|
829
|
+
copies or substantial portions of the Software.
|
830
|
+
|
831
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
832
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
833
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
834
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
835
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
836
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
837
|
+
|
838
|
+
--------------------------------------------------------------------------------
|
839
|
+
|
840
|
+
3rdparty dependency github.com/cespare/xxhash/v2
|
841
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
842
|
+
github.com/cespare/xxhash/v2 is under the MIT license.
|
843
|
+
Copyright (c) 2016 Caleb Spare
|
844
|
+
|
845
|
+
MIT License
|
846
|
+
|
847
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
848
|
+
a copy of this software and associated documentation files (the
|
849
|
+
"Software"), to deal in the Software without restriction, including
|
850
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
851
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
852
|
+
permit persons to whom the Software is furnished to do so, subject to
|
853
|
+
the following conditions:
|
854
|
+
|
855
|
+
The above copyright notice and this permission notice shall be
|
856
|
+
included in all copies or substantial portions of the Software.
|
857
|
+
|
858
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
859
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
860
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
861
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
862
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
863
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
864
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
865
|
+
|
866
|
+
--------------------------------------------------------------------------------
|
867
|
+
|
724
868
|
3rdparty dependency github.com/davecgh/go-spew/spew
|
725
869
|
is statically linked in certain binary distributions, like the Python wheels.
|
726
870
|
github.com/davecgh/go-spew/spew is under the ISC license.
|
@@ -769,17 +913,28 @@ SOFTWARE.
|
|
769
913
|
|
770
914
|
--------------------------------------------------------------------------------
|
771
915
|
|
772
|
-
3rdparty dependency github.com/
|
916
|
+
3rdparty dependency github.com/felixge/httpsnoop
|
773
917
|
is statically linked in certain binary distributions, like the Python wheels.
|
774
|
-
github.com/
|
775
|
-
Copyright (c)
|
918
|
+
github.com/felixge/httpsnoop is under the MIT license.
|
919
|
+
Copyright (c) 2016 Felix Geisendörfer (felix@debuggable.com)
|
776
920
|
|
777
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
921
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
922
|
+
of this software and associated documentation files (the "Software"), to deal
|
923
|
+
in the Software without restriction, including without limitation the rights
|
924
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
925
|
+
copies of the Software, and to permit persons to whom the Software is
|
926
|
+
furnished to do so, subject to the following conditions:
|
778
927
|
|
779
|
-
The above copyright notice and this permission notice shall be included in
|
780
|
-
|
781
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
928
|
+
The above copyright notice and this permission notice shall be included in
|
929
|
+
all copies or substantial portions of the Software.
|
782
930
|
|
931
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
932
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
933
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
934
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
935
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
936
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
937
|
+
THE SOFTWARE.
|
783
938
|
|
784
939
|
--------------------------------------------------------------------------------
|
785
940
|
|
@@ -788,7 +943,7 @@ is statically linked in certain binary distributions, like the Python wheels.
|
|
788
943
|
github.com/gabriel-vasile/mimetype is under the MIT license.
|
789
944
|
MIT License
|
790
945
|
|
791
|
-
Copyright (c) 2018
|
946
|
+
Copyright (c) 2018 Gabriel Vasile
|
792
947
|
|
793
948
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
794
949
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -810,6 +965,18 @@ SOFTWARE.
|
|
810
965
|
|
811
966
|
--------------------------------------------------------------------------------
|
812
967
|
|
968
|
+
3rdparty dependency github.com/go-logr/logr
|
969
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
970
|
+
github.com/go-logr/logr is under the Apache-2.0 license.
|
971
|
+
|
972
|
+
--------------------------------------------------------------------------------
|
973
|
+
|
974
|
+
3rdparty dependency github.com/go-logr/stdr
|
975
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
976
|
+
github.com/go-logr/stdr is under the Apache-2.0 license.
|
977
|
+
|
978
|
+
--------------------------------------------------------------------------------
|
979
|
+
|
813
980
|
3rdparty dependency github.com/goccy/go-json
|
814
981
|
is statically linked in certain binary distributions, like the Python wheels.
|
815
982
|
github.com/goccy/go-json is under the MIT license.
|
@@ -868,22 +1035,37 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
868
1035
|
|
869
1036
|
--------------------------------------------------------------------------------
|
870
1037
|
|
871
|
-
3rdparty dependency github.com/golang/
|
1038
|
+
3rdparty dependency github.com/golang-jwt/jwt/v5
|
872
1039
|
is statically linked in certain binary distributions, like the Python wheels.
|
873
|
-
github.com/golang/
|
874
|
-
Copyright
|
1040
|
+
github.com/golang-jwt/jwt/v5 is under the MIT license.
|
1041
|
+
Copyright (c) 2012 Dave Grijalva
|
1042
|
+
Copyright (c) 2021 golang-jwt maintainers
|
1043
|
+
|
1044
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
1045
|
+
|
1046
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
1047
|
+
|
1048
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
1049
|
+
|
1050
|
+
|
1051
|
+
--------------------------------------------------------------------------------
|
1052
|
+
|
1053
|
+
3rdparty dependency github.com/golang/snappy
|
1054
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1055
|
+
github.com/golang/snappy is under the BSD-3-Clause license.
|
1056
|
+
Copyright (c) 2011 The Snappy-Go Authors. All rights reserved.
|
875
1057
|
|
876
1058
|
Redistribution and use in source and binary forms, with or without
|
877
1059
|
modification, are permitted provided that the following conditions are
|
878
1060
|
met:
|
879
1061
|
|
880
|
-
|
1062
|
+
* Redistributions of source code must retain the above copyright
|
881
1063
|
notice, this list of conditions and the following disclaimer.
|
882
|
-
|
1064
|
+
* Redistributions in binary form must reproduce the above
|
883
1065
|
copyright notice, this list of conditions and the following disclaimer
|
884
1066
|
in the documentation and/or other materials provided with the
|
885
1067
|
distribution.
|
886
|
-
|
1068
|
+
* Neither the name of Google Inc. nor the names of its
|
887
1069
|
contributors may be used to endorse or promote products derived from
|
888
1070
|
this software without specific prior written permission.
|
889
1071
|
|
@@ -899,13 +1081,24 @@ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
899
1081
|
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
900
1082
|
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
901
1083
|
|
1084
|
+
--------------------------------------------------------------------------------
|
1085
|
+
|
1086
|
+
3rdparty dependency github.com/google/flatbuffers/go
|
1087
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1088
|
+
github.com/google/flatbuffers/go is under the Apache-2.0 license.
|
902
1089
|
|
903
1090
|
--------------------------------------------------------------------------------
|
904
1091
|
|
905
|
-
3rdparty dependency github.com/
|
1092
|
+
3rdparty dependency github.com/google/s2a-go
|
906
1093
|
is statically linked in certain binary distributions, like the Python wheels.
|
907
|
-
github.com/
|
908
|
-
|
1094
|
+
github.com/google/s2a-go is under the Apache-2.0 license.
|
1095
|
+
|
1096
|
+
--------------------------------------------------------------------------------
|
1097
|
+
|
1098
|
+
3rdparty dependency github.com/google/uuid
|
1099
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1100
|
+
github.com/google/uuid is under the BSD-3-Clause license.
|
1101
|
+
Copyright (c) 2009,2014 Google Inc. All rights reserved.
|
909
1102
|
|
910
1103
|
Redistribution and use in source and binary forms, with or without
|
911
1104
|
modification, are permitted provided that the following conditions are
|
@@ -935,9 +1128,75 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
935
1128
|
|
936
1129
|
--------------------------------------------------------------------------------
|
937
1130
|
|
938
|
-
3rdparty dependency github.com/
|
1131
|
+
3rdparty dependency github.com/googleapis/enterprise-certificate-proxy/client
|
939
1132
|
is statically linked in certain binary distributions, like the Python wheels.
|
940
|
-
github.com/
|
1133
|
+
github.com/googleapis/enterprise-certificate-proxy/client is under the Apache-2.0 license.
|
1134
|
+
|
1135
|
+
--------------------------------------------------------------------------------
|
1136
|
+
|
1137
|
+
3rdparty dependency github.com/googleapis/gax-go/v2
|
1138
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1139
|
+
github.com/googleapis/gax-go/v2 is under the BSD-3-Clause license.
|
1140
|
+
Copyright 2016, Google Inc.
|
1141
|
+
All rights reserved.
|
1142
|
+
Redistribution and use in source and binary forms, with or without
|
1143
|
+
modification, are permitted provided that the following conditions are
|
1144
|
+
met:
|
1145
|
+
|
1146
|
+
* Redistributions of source code must retain the above copyright
|
1147
|
+
notice, this list of conditions and the following disclaimer.
|
1148
|
+
* Redistributions in binary form must reproduce the above
|
1149
|
+
copyright notice, this list of conditions and the following disclaimer
|
1150
|
+
in the documentation and/or other materials provided with the
|
1151
|
+
distribution.
|
1152
|
+
* Neither the name of Google Inc. nor the names of its
|
1153
|
+
contributors may be used to endorse or promote products derived from
|
1154
|
+
this software without specific prior written permission.
|
1155
|
+
|
1156
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
1157
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
1158
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
1159
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
1160
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
1161
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
1162
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
1163
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
1164
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1165
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1166
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1167
|
+
|
1168
|
+
--------------------------------------------------------------------------------
|
1169
|
+
|
1170
|
+
3rdparty dependency github.com/grpc-ecosystem/grpc-gateway/v2
|
1171
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1172
|
+
github.com/grpc-ecosystem/grpc-gateway/v2 is under the BSD-3-Clause license.
|
1173
|
+
Copyright (c) 2015, Gengo, Inc.
|
1174
|
+
All rights reserved.
|
1175
|
+
|
1176
|
+
Redistribution and use in source and binary forms, with or without modification,
|
1177
|
+
are permitted provided that the following conditions are met:
|
1178
|
+
|
1179
|
+
* Redistributions of source code must retain the above copyright notice,
|
1180
|
+
this list of conditions and the following disclaimer.
|
1181
|
+
|
1182
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
1183
|
+
this list of conditions and the following disclaimer in the documentation
|
1184
|
+
and/or other materials provided with the distribution.
|
1185
|
+
|
1186
|
+
* Neither the name of Gengo, Inc. nor the names of its
|
1187
|
+
contributors may be used to endorse or promote products derived from this
|
1188
|
+
software without specific prior written permission.
|
1189
|
+
|
1190
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
1191
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
1192
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
1193
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
|
1194
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
1195
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
1196
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
1197
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1198
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
1199
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
941
1200
|
|
942
1201
|
--------------------------------------------------------------------------------
|
943
1202
|
|
@@ -966,13 +1225,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
966
1225
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
967
1226
|
SOFTWARE.
|
968
1227
|
|
969
|
-
|
970
|
-
--------------------------------------------------------------------------------
|
971
|
-
|
972
|
-
3rdparty dependency github.com/jmespath/go-jmespath
|
973
|
-
is statically linked in certain binary distributions, like the Python wheels.
|
974
|
-
github.com/jmespath/go-jmespath is under the Apache-2.0 license.
|
975
|
-
|
976
1228
|
--------------------------------------------------------------------------------
|
977
1229
|
|
978
1230
|
3rdparty dependency github.com/klauspost/compress
|
@@ -1310,10 +1562,82 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1310
1562
|
|
1311
1563
|
--------------------------------------------------------------------------------
|
1312
1564
|
|
1565
|
+
3rdparty dependency go.opentelemetry.io/auto/sdk
|
1566
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1567
|
+
go.opentelemetry.io/auto/sdk is under the Apache-2.0 license.
|
1568
|
+
|
1569
|
+
--------------------------------------------------------------------------------
|
1570
|
+
|
1571
|
+
3rdparty dependency go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
|
1572
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1573
|
+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc is under the Apache-2.0 license.
|
1574
|
+
|
1575
|
+
--------------------------------------------------------------------------------
|
1576
|
+
|
1577
|
+
3rdparty dependency go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
|
1578
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1579
|
+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp is under the Apache-2.0 license.
|
1580
|
+
|
1581
|
+
--------------------------------------------------------------------------------
|
1582
|
+
|
1583
|
+
3rdparty dependency go.opentelemetry.io/otel
|
1584
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1585
|
+
go.opentelemetry.io/otel is under the Apache-2.0 license.
|
1586
|
+
|
1587
|
+
--------------------------------------------------------------------------------
|
1588
|
+
|
1589
|
+
3rdparty dependency go.opentelemetry.io/otel/exporters/otlp/otlptrace
|
1590
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1591
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace is under the Apache-2.0 license.
|
1592
|
+
|
1593
|
+
--------------------------------------------------------------------------------
|
1594
|
+
|
1595
|
+
3rdparty dependency go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
|
1596
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1597
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc is under the Apache-2.0 license.
|
1598
|
+
|
1599
|
+
--------------------------------------------------------------------------------
|
1600
|
+
|
1601
|
+
3rdparty dependency go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
|
1602
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1603
|
+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp is under the Apache-2.0 license.
|
1604
|
+
|
1605
|
+
--------------------------------------------------------------------------------
|
1606
|
+
|
1607
|
+
3rdparty dependency go.opentelemetry.io/otel/exporters/stdout/stdouttrace
|
1608
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1609
|
+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace is under the Apache-2.0 license.
|
1610
|
+
|
1611
|
+
--------------------------------------------------------------------------------
|
1612
|
+
|
1613
|
+
3rdparty dependency go.opentelemetry.io/otel/metric
|
1614
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1615
|
+
go.opentelemetry.io/otel/metric is under the Apache-2.0 license.
|
1616
|
+
|
1617
|
+
--------------------------------------------------------------------------------
|
1618
|
+
|
1619
|
+
3rdparty dependency go.opentelemetry.io/otel/sdk
|
1620
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1621
|
+
go.opentelemetry.io/otel/sdk is under the Apache-2.0 license.
|
1622
|
+
|
1623
|
+
--------------------------------------------------------------------------------
|
1624
|
+
|
1625
|
+
3rdparty dependency go.opentelemetry.io/otel/trace
|
1626
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1627
|
+
go.opentelemetry.io/otel/trace is under the Apache-2.0 license.
|
1628
|
+
|
1629
|
+
--------------------------------------------------------------------------------
|
1630
|
+
|
1631
|
+
3rdparty dependency go.opentelemetry.io/proto/otlp
|
1632
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1633
|
+
go.opentelemetry.io/proto/otlp is under the Apache-2.0 license.
|
1634
|
+
|
1635
|
+
--------------------------------------------------------------------------------
|
1636
|
+
|
1313
1637
|
3rdparty dependency golang.org/x/crypto
|
1314
1638
|
is statically linked in certain binary distributions, like the Python wheels.
|
1315
1639
|
golang.org/x/crypto is under the BSD-3-Clause license.
|
1316
|
-
Copyright
|
1640
|
+
Copyright 2009 The Go Authors.
|
1317
1641
|
|
1318
1642
|
Redistribution and use in source and binary forms, with or without
|
1319
1643
|
modification, are permitted provided that the following conditions are
|
@@ -1325,7 +1649,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1325
1649
|
copyright notice, this list of conditions and the following disclaimer
|
1326
1650
|
in the documentation and/or other materials provided with the
|
1327
1651
|
distribution.
|
1328
|
-
* Neither the name of Google
|
1652
|
+
* Neither the name of Google LLC nor the names of its
|
1329
1653
|
contributors may be used to endorse or promote products derived from
|
1330
1654
|
this software without specific prior written permission.
|
1331
1655
|
|
@@ -1346,7 +1670,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1346
1670
|
3rdparty dependency golang.org/x/exp
|
1347
1671
|
is statically linked in certain binary distributions, like the Python wheels.
|
1348
1672
|
golang.org/x/exp is under the BSD-3-Clause license.
|
1349
|
-
Copyright
|
1673
|
+
Copyright 2009 The Go Authors.
|
1350
1674
|
|
1351
1675
|
Redistribution and use in source and binary forms, with or without
|
1352
1676
|
modification, are permitted provided that the following conditions are
|
@@ -1358,7 +1682,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1358
1682
|
copyright notice, this list of conditions and the following disclaimer
|
1359
1683
|
in the documentation and/or other materials provided with the
|
1360
1684
|
distribution.
|
1361
|
-
* Neither the name of Google
|
1685
|
+
* Neither the name of Google LLC nor the names of its
|
1362
1686
|
contributors may be used to endorse or promote products derived from
|
1363
1687
|
this software without specific prior written permission.
|
1364
1688
|
|
@@ -1379,7 +1703,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1379
1703
|
3rdparty dependency golang.org/x/mod/semver
|
1380
1704
|
is statically linked in certain binary distributions, like the Python wheels.
|
1381
1705
|
golang.org/x/mod/semver is under the BSD-3-Clause license.
|
1382
|
-
Copyright
|
1706
|
+
Copyright 2009 The Go Authors.
|
1383
1707
|
|
1384
1708
|
Redistribution and use in source and binary forms, with or without
|
1385
1709
|
modification, are permitted provided that the following conditions are
|
@@ -1391,7 +1715,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1391
1715
|
copyright notice, this list of conditions and the following disclaimer
|
1392
1716
|
in the documentation and/or other materials provided with the
|
1393
1717
|
distribution.
|
1394
|
-
* Neither the name of Google
|
1718
|
+
* Neither the name of Google LLC nor the names of its
|
1395
1719
|
contributors may be used to endorse or promote products derived from
|
1396
1720
|
this software without specific prior written permission.
|
1397
1721
|
|
@@ -1412,7 +1736,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1412
1736
|
3rdparty dependency golang.org/x/net
|
1413
1737
|
is statically linked in certain binary distributions, like the Python wheels.
|
1414
1738
|
golang.org/x/net is under the BSD-3-Clause license.
|
1415
|
-
Copyright
|
1739
|
+
Copyright 2009 The Go Authors.
|
1416
1740
|
|
1417
1741
|
Redistribution and use in source and binary forms, with or without
|
1418
1742
|
modification, are permitted provided that the following conditions are
|
@@ -1424,7 +1748,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1424
1748
|
copyright notice, this list of conditions and the following disclaimer
|
1425
1749
|
in the documentation and/or other materials provided with the
|
1426
1750
|
distribution.
|
1427
|
-
* Neither the name of Google
|
1751
|
+
* Neither the name of Google LLC nor the names of its
|
1428
1752
|
contributors may be used to endorse or promote products derived from
|
1429
1753
|
this software without specific prior written permission.
|
1430
1754
|
|
@@ -1442,10 +1766,10 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1442
1766
|
|
1443
1767
|
--------------------------------------------------------------------------------
|
1444
1768
|
|
1445
|
-
3rdparty dependency golang.org/x/
|
1769
|
+
3rdparty dependency golang.org/x/oauth2
|
1446
1770
|
is statically linked in certain binary distributions, like the Python wheels.
|
1447
|
-
golang.org/x/
|
1448
|
-
Copyright
|
1771
|
+
golang.org/x/oauth2 is under the BSD-3-Clause license.
|
1772
|
+
Copyright 2009 The Go Authors.
|
1449
1773
|
|
1450
1774
|
Redistribution and use in source and binary forms, with or without
|
1451
1775
|
modification, are permitted provided that the following conditions are
|
@@ -1457,7 +1781,40 @@ notice, this list of conditions and the following disclaimer.
|
|
1457
1781
|
copyright notice, this list of conditions and the following disclaimer
|
1458
1782
|
in the documentation and/or other materials provided with the
|
1459
1783
|
distribution.
|
1460
|
-
* Neither the name of Google
|
1784
|
+
* Neither the name of Google LLC nor the names of its
|
1785
|
+
contributors may be used to endorse or promote products derived from
|
1786
|
+
this software without specific prior written permission.
|
1787
|
+
|
1788
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
1789
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
1790
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
1791
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
1792
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
1793
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
1794
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
1795
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
1796
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1797
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1798
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1799
|
+
|
1800
|
+
--------------------------------------------------------------------------------
|
1801
|
+
|
1802
|
+
3rdparty dependency golang.org/x/sync
|
1803
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1804
|
+
golang.org/x/sync is under the BSD-3-Clause license.
|
1805
|
+
Copyright 2009 The Go Authors.
|
1806
|
+
|
1807
|
+
Redistribution and use in source and binary forms, with or without
|
1808
|
+
modification, are permitted provided that the following conditions are
|
1809
|
+
met:
|
1810
|
+
|
1811
|
+
* Redistributions of source code must retain the above copyright
|
1812
|
+
notice, this list of conditions and the following disclaimer.
|
1813
|
+
* Redistributions in binary form must reproduce the above
|
1814
|
+
copyright notice, this list of conditions and the following disclaimer
|
1815
|
+
in the documentation and/or other materials provided with the
|
1816
|
+
distribution.
|
1817
|
+
* Neither the name of Google LLC nor the names of its
|
1461
1818
|
contributors may be used to endorse or promote products derived from
|
1462
1819
|
this software without specific prior written permission.
|
1463
1820
|
|
@@ -1478,7 +1835,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1478
1835
|
3rdparty dependency golang.org/x/sys
|
1479
1836
|
is statically linked in certain binary distributions, like the Python wheels.
|
1480
1837
|
golang.org/x/sys is under the BSD-3-Clause license.
|
1481
|
-
Copyright
|
1838
|
+
Copyright 2009 The Go Authors.
|
1482
1839
|
|
1483
1840
|
Redistribution and use in source and binary forms, with or without
|
1484
1841
|
modification, are permitted provided that the following conditions are
|
@@ -1490,7 +1847,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1490
1847
|
copyright notice, this list of conditions and the following disclaimer
|
1491
1848
|
in the documentation and/or other materials provided with the
|
1492
1849
|
distribution.
|
1493
|
-
* Neither the name of Google
|
1850
|
+
* Neither the name of Google LLC nor the names of its
|
1494
1851
|
contributors may be used to endorse or promote products derived from
|
1495
1852
|
this software without specific prior written permission.
|
1496
1853
|
|
@@ -1511,7 +1868,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1511
1868
|
3rdparty dependency golang.org/x/term
|
1512
1869
|
is statically linked in certain binary distributions, like the Python wheels.
|
1513
1870
|
golang.org/x/term is under the BSD-3-Clause license.
|
1514
|
-
Copyright
|
1871
|
+
Copyright 2009 The Go Authors.
|
1515
1872
|
|
1516
1873
|
Redistribution and use in source and binary forms, with or without
|
1517
1874
|
modification, are permitted provided that the following conditions are
|
@@ -1523,7 +1880,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1523
1880
|
copyright notice, this list of conditions and the following disclaimer
|
1524
1881
|
in the documentation and/or other materials provided with the
|
1525
1882
|
distribution.
|
1526
|
-
* Neither the name of Google
|
1883
|
+
* Neither the name of Google LLC nor the names of its
|
1527
1884
|
contributors may be used to endorse or promote products derived from
|
1528
1885
|
this software without specific prior written permission.
|
1529
1886
|
|
@@ -1544,7 +1901,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1544
1901
|
3rdparty dependency golang.org/x/text
|
1545
1902
|
is statically linked in certain binary distributions, like the Python wheels.
|
1546
1903
|
golang.org/x/text is under the BSD-3-Clause license.
|
1547
|
-
Copyright
|
1904
|
+
Copyright 2009 The Go Authors.
|
1548
1905
|
|
1549
1906
|
Redistribution and use in source and binary forms, with or without
|
1550
1907
|
modification, are permitted provided that the following conditions are
|
@@ -1556,7 +1913,40 @@ notice, this list of conditions and the following disclaimer.
|
|
1556
1913
|
copyright notice, this list of conditions and the following disclaimer
|
1557
1914
|
in the documentation and/or other materials provided with the
|
1558
1915
|
distribution.
|
1559
|
-
* Neither the name of Google
|
1916
|
+
* Neither the name of Google LLC nor the names of its
|
1917
|
+
contributors may be used to endorse or promote products derived from
|
1918
|
+
this software without specific prior written permission.
|
1919
|
+
|
1920
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
1921
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
1922
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
1923
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
1924
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
1925
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
1926
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
1927
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
1928
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
1929
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
1930
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
1931
|
+
|
1932
|
+
--------------------------------------------------------------------------------
|
1933
|
+
|
1934
|
+
3rdparty dependency golang.org/x/time/rate
|
1935
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
1936
|
+
golang.org/x/time/rate is under the BSD-3-Clause license.
|
1937
|
+
Copyright 2009 The Go Authors.
|
1938
|
+
|
1939
|
+
Redistribution and use in source and binary forms, with or without
|
1940
|
+
modification, are permitted provided that the following conditions are
|
1941
|
+
met:
|
1942
|
+
|
1943
|
+
* Redistributions of source code must retain the above copyright
|
1944
|
+
notice, this list of conditions and the following disclaimer.
|
1945
|
+
* Redistributions in binary form must reproduce the above
|
1946
|
+
copyright notice, this list of conditions and the following disclaimer
|
1947
|
+
in the documentation and/or other materials provided with the
|
1948
|
+
distribution.
|
1949
|
+
* Neither the name of Google LLC nor the names of its
|
1560
1950
|
contributors may be used to endorse or promote products derived from
|
1561
1951
|
this software without specific prior written permission.
|
1562
1952
|
|
@@ -1577,7 +1967,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1577
1967
|
3rdparty dependency golang.org/x/tools
|
1578
1968
|
is statically linked in certain binary distributions, like the Python wheels.
|
1579
1969
|
golang.org/x/tools is under the BSD-3-Clause license.
|
1580
|
-
Copyright
|
1970
|
+
Copyright 2009 The Go Authors.
|
1581
1971
|
|
1582
1972
|
Redistribution and use in source and binary forms, with or without
|
1583
1973
|
modification, are permitted provided that the following conditions are
|
@@ -1589,7 +1979,7 @@ notice, this list of conditions and the following disclaimer.
|
|
1589
1979
|
copyright notice, this list of conditions and the following disclaimer
|
1590
1980
|
in the documentation and/or other materials provided with the
|
1591
1981
|
distribution.
|
1592
|
-
* Neither the name of Google
|
1982
|
+
* Neither the name of Google LLC nor the names of its
|
1593
1983
|
contributors may be used to endorse or promote products derived from
|
1594
1984
|
this software without specific prior written permission.
|
1595
1985
|
|
@@ -1610,7 +2000,40 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1610
2000
|
3rdparty dependency golang.org/x/xerrors
|
1611
2001
|
is statically linked in certain binary distributions, like the Python wheels.
|
1612
2002
|
golang.org/x/xerrors is under the BSD-3-Clause license.
|
1613
|
-
Copyright
|
2003
|
+
Copyright 2019 The Go Authors.
|
2004
|
+
|
2005
|
+
Redistribution and use in source and binary forms, with or without
|
2006
|
+
modification, are permitted provided that the following conditions are
|
2007
|
+
met:
|
2008
|
+
|
2009
|
+
* Redistributions of source code must retain the above copyright
|
2010
|
+
notice, this list of conditions and the following disclaimer.
|
2011
|
+
* Redistributions in binary form must reproduce the above
|
2012
|
+
copyright notice, this list of conditions and the following disclaimer
|
2013
|
+
in the documentation and/or other materials provided with the
|
2014
|
+
distribution.
|
2015
|
+
* Neither the name of Google LLC nor the names of its
|
2016
|
+
contributors may be used to endorse or promote products derived from
|
2017
|
+
this software without specific prior written permission.
|
2018
|
+
|
2019
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
2020
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
2021
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
2022
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
2023
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
2024
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
2025
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
2026
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
2027
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
2028
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
2029
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2030
|
+
|
2031
|
+
--------------------------------------------------------------------------------
|
2032
|
+
|
2033
|
+
3rdparty dependency google.golang.org/api
|
2034
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
2035
|
+
google.golang.org/api is under the BSD-3-Clause license.
|
2036
|
+
Copyright (c) 2011 Google Inc. All rights reserved.
|
1614
2037
|
|
1615
2038
|
Redistribution and use in source and binary forms, with or without
|
1616
2039
|
modification, are permitted provided that the following conditions are
|
@@ -1640,9 +2063,54 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
1640
2063
|
|
1641
2064
|
--------------------------------------------------------------------------------
|
1642
2065
|
|
1643
|
-
3rdparty dependency google.golang.org/
|
2066
|
+
3rdparty dependency google.golang.org/api/internal/third_party/uritemplates
|
2067
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
2068
|
+
google.golang.org/api/internal/third_party/uritemplates is under the BSD-3-Clause license.
|
2069
|
+
Copyright (c) 2013 Joshua Tacoma. All rights reserved.
|
2070
|
+
|
2071
|
+
Redistribution and use in source and binary forms, with or without
|
2072
|
+
modification, are permitted provided that the following conditions are
|
2073
|
+
met:
|
2074
|
+
|
2075
|
+
* Redistributions of source code must retain the above copyright
|
2076
|
+
notice, this list of conditions and the following disclaimer.
|
2077
|
+
* Redistributions in binary form must reproduce the above
|
2078
|
+
copyright notice, this list of conditions and the following disclaimer
|
2079
|
+
in the documentation and/or other materials provided with the
|
2080
|
+
distribution.
|
2081
|
+
* Neither the name of Google Inc. nor the names of its
|
2082
|
+
contributors may be used to endorse or promote products derived from
|
2083
|
+
this software without specific prior written permission.
|
2084
|
+
|
2085
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
2086
|
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
2087
|
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
2088
|
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
2089
|
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
2090
|
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
2091
|
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
2092
|
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
2093
|
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
2094
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
2095
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
2096
|
+
|
2097
|
+
--------------------------------------------------------------------------------
|
2098
|
+
|
2099
|
+
3rdparty dependency google.golang.org/genproto/googleapis/api
|
2100
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
2101
|
+
google.golang.org/genproto/googleapis/api is under the Apache-2.0 license.
|
2102
|
+
|
2103
|
+
--------------------------------------------------------------------------------
|
2104
|
+
|
2105
|
+
3rdparty dependency google.golang.org/genproto/googleapis/rpc
|
2106
|
+
is statically linked in certain binary distributions, like the Python wheels.
|
2107
|
+
google.golang.org/genproto/googleapis/rpc is under the Apache-2.0 license.
|
2108
|
+
|
2109
|
+
--------------------------------------------------------------------------------
|
2110
|
+
|
2111
|
+
3rdparty dependency google.golang.org/genproto/googleapis/type/expr
|
1644
2112
|
is statically linked in certain binary distributions, like the Python wheels.
|
1645
|
-
google.golang.org/genproto/googleapis/
|
2113
|
+
google.golang.org/genproto/googleapis/type/expr is under the Apache-2.0 license.
|
1646
2114
|
|
1647
2115
|
--------------------------------------------------------------------------------
|
1648
2116
|
|
data/README.md
CHANGED
@@ -19,11 +19,26 @@
|
|
19
19
|
|
20
20
|
# Red ADBC
|
21
21
|
|
22
|
+
[](https://rubygems.org/gems/red-adbc)
|
23
|
+
|
22
24
|
Red ADBC is the Ruby bindings of ADBC GLib.
|
23
25
|
|
24
26
|
## How to install
|
25
27
|
|
28
|
+
If you want to install Red ADBC by Bundler, you can add the following
|
29
|
+
to your `Gemfile`:
|
30
|
+
|
31
|
+
```ruby
|
32
|
+
plugin "rubygems-requirements-system"
|
33
|
+
|
34
|
+
gem "red-adbc"
|
35
|
+
```
|
36
|
+
|
37
|
+
If you want to install Red ADBC by RubyGems, you can use the following
|
38
|
+
command line:
|
39
|
+
|
26
40
|
```console
|
41
|
+
$ gem install rubygems-requirements-system
|
27
42
|
$ gem install red-adbc
|
28
43
|
```
|
29
44
|
|
data/lib/adbc/connection.rb
CHANGED
@@ -39,5 +39,30 @@ module ADBC
|
|
39
39
|
GLib.free(c_abi_array_stream)
|
40
40
|
end
|
41
41
|
end
|
42
|
+
|
43
|
+
alias_method :get_objects_raw, :get_objects
|
44
|
+
def get_objects(depth: :all,
|
45
|
+
catalog: nil,
|
46
|
+
db_schema: nil,
|
47
|
+
table_name: nil,
|
48
|
+
table_types: nil,
|
49
|
+
column_name: nil)
|
50
|
+
c_abi_array_stream = get_objects_raw(depth,
|
51
|
+
catalog,
|
52
|
+
db_schema,
|
53
|
+
table_name,
|
54
|
+
table_types,
|
55
|
+
column_name)
|
56
|
+
begin
|
57
|
+
reader = Arrow::RecordBatchReader.import(c_abi_array_stream)
|
58
|
+
begin
|
59
|
+
reader.read_all
|
60
|
+
ensure
|
61
|
+
reader.unref
|
62
|
+
end
|
63
|
+
ensure
|
64
|
+
GLib.free(c_abi_array_stream)
|
65
|
+
end
|
66
|
+
end
|
42
67
|
end
|
43
68
|
end
|
data/lib/adbc/loader.rb
CHANGED
@@ -23,9 +23,17 @@ module ADBC
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
+
def initialize(...)
|
27
|
+
super
|
28
|
+
@load_flags_default = nil
|
29
|
+
end
|
30
|
+
|
26
31
|
private
|
27
32
|
def post_load(repository, namespace)
|
28
33
|
require_libraries
|
34
|
+
|
35
|
+
load_flags = @base_module.const_get(:LoadFlags)
|
36
|
+
load_flags.const_set(:DEFAULT, load_flags.new(@load_flags_default))
|
29
37
|
end
|
30
38
|
|
31
39
|
def require_libraries
|
@@ -41,25 +49,14 @@ module ADBC
|
|
41
49
|
super
|
42
50
|
end
|
43
51
|
end
|
44
|
-
end
|
45
|
-
end
|
46
52
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
53
|
+
def load_constant_info(info)
|
54
|
+
case info.name
|
55
|
+
when "LOAD_FLAGS_DEFAULT"
|
56
|
+
@load_flags_default = info.value
|
57
|
+
else
|
58
|
+
super
|
52
59
|
end
|
53
60
|
end
|
54
|
-
|
55
|
-
private
|
56
|
-
def post_load(repository, namespace)
|
57
|
-
require_libraries
|
58
|
-
end
|
59
|
-
|
60
|
-
def require_libraries
|
61
|
-
require_relative "arrow-connection"
|
62
|
-
require_relative "arrow-statement"
|
63
|
-
end
|
64
61
|
end
|
65
62
|
end
|
data/lib/adbc/statement.rb
CHANGED
@@ -23,6 +23,16 @@ module ADBC
|
|
23
23
|
extend StatementOpenable
|
24
24
|
include StatementOperations
|
25
25
|
|
26
|
+
alias_method :parameter_schema_raw, :parameter_schema
|
27
|
+
def parameter_schema
|
28
|
+
_, c_abi_schema = parameter_schema_raw
|
29
|
+
begin
|
30
|
+
Arrow::Schema.import(c_abi_schema)
|
31
|
+
ensure
|
32
|
+
GLib.free(c_abi_schema)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
|
26
36
|
alias_method :execute_raw, :execute
|
27
37
|
def execute(need_result: true)
|
28
38
|
_, c_abi_array_stream, n_rows_affected = execute_raw(need_result)
|
data/lib/adbc/version.rb
CHANGED
data/lib/adbc.rb
CHANGED
@@ -17,9 +17,9 @@
|
|
17
17
|
|
18
18
|
require "arrow"
|
19
19
|
|
20
|
-
|
20
|
+
require_relative "adbc/version"
|
21
21
|
|
22
|
-
|
22
|
+
require_relative "adbc/loader"
|
23
23
|
|
24
24
|
module ADBC
|
25
25
|
class Error < StandardError
|
@@ -27,17 +27,3 @@ module ADBC
|
|
27
27
|
end
|
28
28
|
|
29
29
|
ADBC::Loader.load
|
30
|
-
begin
|
31
|
-
ADBCArrow::Loader.load
|
32
|
-
rescue GObjectIntrospection::RepositoryError
|
33
|
-
else
|
34
|
-
module ADBC
|
35
|
-
RawConnection = Connection
|
36
|
-
remove_const(:Connection)
|
37
|
-
Connection = ADBCArrow::Connection
|
38
|
-
|
39
|
-
RawStatement = Statement
|
40
|
-
remove_const(:Statement)
|
41
|
-
Statement = ADBCArrow::Statement
|
42
|
-
end
|
43
|
-
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red-adbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Apache Arrow Developers
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: red-arrow
|
@@ -29,17 +28,13 @@ description: ADBC (Apache Arrow Database Connectivity) is an API standard for da
|
|
29
28
|
email:
|
30
29
|
- dev@arrow.apache.org
|
31
30
|
executables: []
|
32
|
-
extensions:
|
33
|
-
- dependency-check/Rakefile
|
31
|
+
extensions: []
|
34
32
|
extra_rdoc_files: []
|
35
33
|
files:
|
36
34
|
- LICENSE.txt
|
37
35
|
- NOTICE.txt
|
38
36
|
- README.md
|
39
|
-
- dependency-check/Rakefile
|
40
37
|
- lib/adbc.rb
|
41
|
-
- lib/adbc/arrow-connection.rb
|
42
|
-
- lib/adbc/arrow-statement.rb
|
43
38
|
- lib/adbc/connection-operations.rb
|
44
39
|
- lib/adbc/connection.rb
|
45
40
|
- lib/adbc/database.rb
|
@@ -52,7 +47,6 @@ homepage: https://arrow.apache.org/
|
|
52
47
|
licenses:
|
53
48
|
- Apache-2.0
|
54
49
|
metadata: {}
|
55
|
-
post_install_message:
|
56
50
|
rdoc_options: []
|
57
51
|
require_paths:
|
58
52
|
- lib
|
@@ -66,9 +60,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
60
|
- - ">="
|
67
61
|
- !ruby/object:Gem::Version
|
68
62
|
version: '0'
|
69
|
-
requirements:
|
70
|
-
|
71
|
-
|
63
|
+
requirements:
|
64
|
+
- 'system: adbc-glib>=1.8.0: debian: libadbc-glib-dev'
|
65
|
+
- 'system: adbc-glib>=1.8.0: rhel: adbc-glib-devel'
|
66
|
+
rubygems_version: 3.6.9
|
72
67
|
specification_version: 4
|
73
68
|
summary: Red ADBC is the Ruby bindings of ADBC (Apache Arrow Database Connectivity)
|
74
69
|
test_files: []
|
data/dependency-check/Rakefile
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
# -*- ruby -*-
|
2
|
-
#
|
3
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
4
|
-
# or more contributor license agreements. See the NOTICE file
|
5
|
-
# distributed with this work for additional information
|
6
|
-
# regarding copyright ownership. The ASF licenses this file
|
7
|
-
# to you under the Apache License, Version 2.0 (the
|
8
|
-
# "License"); you may not use this file except in compliance
|
9
|
-
# with the License. You may obtain a copy of the License at
|
10
|
-
#
|
11
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
12
|
-
#
|
13
|
-
# Unless required by applicable law or agreed to in writing,
|
14
|
-
# software distributed under the License is distributed on an
|
15
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
16
|
-
# KIND, either express or implied. See the License for the
|
17
|
-
# specific language governing permissions and limitations
|
18
|
-
# under the License.
|
19
|
-
|
20
|
-
require "pkg-config"
|
21
|
-
require "native-package-installer"
|
22
|
-
require_relative "../lib/adbc/version"
|
23
|
-
|
24
|
-
case RUBY_PLATFORM
|
25
|
-
when /mingw|mswin/
|
26
|
-
task :default => "nothing"
|
27
|
-
else
|
28
|
-
task :default => "dependency:check"
|
29
|
-
end
|
30
|
-
|
31
|
-
task :nothing do
|
32
|
-
end
|
33
|
-
|
34
|
-
namespace :dependency do
|
35
|
-
desc "Check dependency"
|
36
|
-
task :check do
|
37
|
-
unless PKGConfig.check_version?("adbc-arrow-glib",
|
38
|
-
ADBC::Version::MAJOR,
|
39
|
-
ADBC::Version::MINOR,
|
40
|
-
ADBC::Version::MICRO)
|
41
|
-
unless NativePackageInstaller.install(debian: "libadbc-arrow-glib-dev",
|
42
|
-
redhat: "adbc-arrow-glib-devel")
|
43
|
-
exit(false)
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
47
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
-
# or more contributor license agreements. See the NOTICE file
|
3
|
-
# distributed with this work for additional information
|
4
|
-
# regarding copyright ownership. The ASF licenses this file
|
5
|
-
# to you under the Apache License, Version 2.0 (the
|
6
|
-
# "License"); you may not use this file except in compliance
|
7
|
-
# with the License. You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
17
|
-
|
18
|
-
module ADBCArrow
|
19
|
-
class Connection
|
20
|
-
include ADBC::ConnectionOperations
|
21
|
-
|
22
|
-
def open_statement(&block)
|
23
|
-
Statement.open(self, &block)
|
24
|
-
end
|
25
|
-
|
26
|
-
alias_method :get_info_raw, :get_info
|
27
|
-
def get_info(codes)
|
28
|
-
reader = get_info_raw(codes)
|
29
|
-
begin
|
30
|
-
yield(reader.read_all)
|
31
|
-
ensure
|
32
|
-
reader.unref
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
data/lib/adbc/arrow-statement.rb
DELETED
@@ -1,65 +0,0 @@
|
|
1
|
-
# Licensed to the Apache Software Foundation (ASF) under one
|
2
|
-
# or more contributor license agreements. See the NOTICE file
|
3
|
-
# distributed with this work for additional information
|
4
|
-
# regarding copyright ownership. The ASF licenses this file
|
5
|
-
# to you under the Apache License, Version 2.0 (the
|
6
|
-
# "License"); you may not use this file except in compliance
|
7
|
-
# with the License. You may obtain a copy of the License at
|
8
|
-
#
|
9
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
-
#
|
11
|
-
# Unless required by applicable law or agreed to in writing,
|
12
|
-
# software distributed under the License is distributed on an
|
13
|
-
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
14
|
-
# KIND, either express or implied. See the License for the
|
15
|
-
# specific language governing permissions and limitations
|
16
|
-
# under the License.
|
17
|
-
|
18
|
-
module ADBCArrow
|
19
|
-
class Statement
|
20
|
-
extend ADBC::StatementOpenable
|
21
|
-
include ADBC::StatementOperations
|
22
|
-
|
23
|
-
alias_method :execute_raw, :execute
|
24
|
-
def execute(need_result: true)
|
25
|
-
_, reader, n_rows_affected = execute_raw(need_result)
|
26
|
-
if need_result
|
27
|
-
begin
|
28
|
-
if block_given?
|
29
|
-
yield(reader, n_rows_affected)
|
30
|
-
else
|
31
|
-
[reader.read_all, n_rows_affected]
|
32
|
-
end
|
33
|
-
end
|
34
|
-
else
|
35
|
-
if block_given?
|
36
|
-
yield(n_rows_affected)
|
37
|
-
else
|
38
|
-
n_rows_affected
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
42
|
-
|
43
|
-
alias_method :bind_raw, :bind
|
44
|
-
def bind(*args)
|
45
|
-
n_args = args.size
|
46
|
-
if block_given?
|
47
|
-
message = "wrong number of arguments (given #{n_args}, expected 1 with block)"
|
48
|
-
raise ArgumentError, message unless n_args == 1
|
49
|
-
values = args[0]
|
50
|
-
if values.is_a?(Arrow::Table)
|
51
|
-
values = Arrow::TableBatchReader.new(values)
|
52
|
-
end
|
53
|
-
if values.is_a?(Arrow::RecordBatchReader)
|
54
|
-
bind_stream(values)
|
55
|
-
yield
|
56
|
-
else
|
57
|
-
bind_raw(values)
|
58
|
-
yield
|
59
|
-
end
|
60
|
-
else
|
61
|
-
bind_raw(*args)
|
62
|
-
end
|
63
|
-
end
|
64
|
-
end
|
65
|
-
end
|