ARROW-12069: [C++][Gandiva] Implement IN expressions for Decimal type

Implement support to IN expressions at Arrow's decimals field independently of its precision or scale.

Closes #9785 from frank400/feature/add-decimal-in-expression and squashes the following commits:

1954f552d <frank400> Fix checkstyle problem
fcaa6f11f <frank400> Fix decimal parameters names at MakeDecimalVector function
54e7bcb8d <frank400> Fix parameters for hash_combine
c80bb5721 <frank400> Implement hash_combine for hash function of gandiva::DecimalScalar128
1f152d5f3 <frank400> Fix problems with backward compatibility
0b4b297a7 <frank400> Add test cases for -0.0, +inf and -inf
6329b2674 <frank400> Fix unused const statement from dex.h
d54f2a741 <frank400> Fix unused const statement from dex.h
41b8baf34 <frank400> Fix extern include in gdv_function_stubs.h
9a552b1a1 <frank400> Fix JNI support
d36dd453c <frank400> Add BigDecimal support
c52ae04de <frank400> Implement support for JNI functions
eb3e380fc <frank400> Remove unnecessary properties from InExpressionNode
5553856a2 <frank400> Add JNI bind for IN expressions for Decimal type
b538f3580 <frank400> Add custom structures to IN expressions looking for decimal numbers
ff78ea244 <frank400> Implements hash for the class DecimalScalar128 and change type used from arrow::Decimal128 to gandiva::DecimalScalar128
3bae14700 <frank400> Apply quality changes
4e9ce672c <frank400> Remove unused llvm decimal type
d36aff263 <João Pedro> Correct test for in decimal expressions
6ca50048f <frank400> Change decimal type to Arrows' decimal128
eb60cdfb6 <frank400> Add decimalIR to VisitInExpression method
d85622044 <frank400> Implemented disassembled decimal types at stub functions
ec62bb8ae <frank400> Implement overwrite function
80764ff8f <frank400> Update test and stub type
158238b17 <frank400> Update Decimal type used
0d5096f4c <frank400> Update hash implementation
47eccb554 <frank400> Update hash function
f801e3bf9 <frank400> Implement in expression

Lead-authored-by: frank400 <j.victorhuguenin2018@gmail.com>
Co-authored-by: João Pedro <joaop@simbioseventures.com>
Signed-off-by: Praveen <praveen@dremio.com>
23 files changed
tree: 3bc600dd84ee4f0704650dc6f73f346130e095a4
  1. .github/
  2. c_glib/
  3. ci/
  4. cpp/
  5. csharp/
  6. dev/
  7. docs/
  8. format/
  9. go/
  10. java/
  11. js/
  12. julia/
  13. matlab/
  14. python/
  15. r/
  16. ruby/
  17. rust/
  18. .asf.yaml
  19. .clang-format
  20. .clang-tidy
  21. .clang-tidy-ignore
  22. .dir-locals.el
  23. .dockerignore
  24. .env
  25. .gitattributes
  26. .gitignore
  27. .gitmodules
  28. .hadolint.yaml
  29. .pre-commit-config.yaml
  30. .readthedocs.yml
  31. .travis.yml
  32. appveyor.yml
  33. CHANGELOG.md
  34. cmake-format.py
  35. CODE_OF_CONDUCT.md
  36. CONTRIBUTING.md
  37. docker-compose.yml
  38. header
  39. LICENSE.txt
  40. NOTICE.txt
  41. README.md
  42. run-cmake-format.py
README.md

Apache Arrow

Build Status Coverage Status Fuzzing Status License Twitter Follow

Powering In-Memory Analytics

Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.

Major components of the project include:

Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.

What's in the Arrow libraries?

The reference Arrow libraries contain many distinct software components:

  • Columnar vector and table-like containers (similar to data frames) supporting flat or nested types
  • Fast, language agnostic metadata messaging layer (using Google's Flatbuffers library)
  • Reference-counted off-heap buffer memory management, for zero-copy memory sharing and handling memory-mapped files
  • IO interfaces to local and remote filesystems
  • Self-describing binary wire formats (streaming and batch/file-like) for remote procedure calls (RPC) and interprocess communication (IPC)
  • Integration tests for verifying binary compatibility between the implementations (e.g. sending data from Java to C++)
  • Conversions to and from other in-memory data structures
  • Readers and writers for various widely-used file formats (such as Parquet, CSV)

Implementation status

The official Arrow libraries in this repository are in different stages of implementing the Arrow format and related features. See our current feature matrix on git master.

How to Contribute

Please read our latest project contribution guide.

Getting involved

Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: