Showing with 13,861 additions and 2,993 deletions.
  1. +0 −263 .circleci/config.yml
  2. +1 −0 .gitignore
  3. +0 −2 .isort.cfg
  4. +6 −14 .pre-commit-config.yaml
  5. +131 −36 Makefile
  6. +2 −2 README.md
  7. +8 −173 azure-pipelines.yml
  8. +64 −6 benchmarks/benchmarks.py
  9. +5 −5 ci/.env
  10. +8 −8 ci/Dockerfile.dev
  11. +8 −8 ci/Dockerfile.docs
  12. +266 −0 ci/azure/linux.yml
  13. +137 −0 ci/azure/windows.yml
  14. +30 −0 ci/backends-markers.sh
  15. +41 −0 ci/backends-to-start.sh
  16. +0 −19 ci/build.sh
  17. +22 −0 ci/check-services.sh
  18. +53 −25 ci/datamgr.py
  19. +23 −26 ci/docker-compose.yml
  20. +41 −0 ci/dockerize.sh
  21. +8 −0 ci/feedstock.py
  22. +3 −2 ci/impalamgr.py
  23. +4 −18 ci/load-data.sh
  24. 0 ci/{omnisci.conf → omniscidb.conf}
  25. +0 −52 ci/requirements-3.5-dev.yml
  26. +13 −4 ci/requirements-3.6-dev.yml
  27. +13 −4 ci/requirements-3.7-dev.yml
  28. +61 −0 ci/requirements-3.8-dev.yml
  29. +3 −0 ci/requirements-docs.yml
  30. +4 −4 ci/schema/{omnisci.sql → omniscidb.sql}
  31. +0 −7 ci/test.sh
  32. +10 −1 conftest.py
  33. +34 −39 dev/merge-pr.py
  34. +171 −0 docs/source/api.rst
  35. +10 −27 docs/source/backends.rst
  36. +139 −2 docs/source/contributing.rst
  37. +24 −0 docs/source/extending.rst
  38. +12 −12 docs/source/getting-started.rst
  39. +5 −2 docs/source/index.rst
  40. +2 −2 docs/source/notebooks/tutorial/10-Adding-a-new-reduction-expression.ipynb
  41. +648 −0 docs/source/notebooks/tutorial/11-Geospatial-Analysis.ipynb
  42. +2 −2 docs/source/notebooks/tutorial/9-Adding-a-new-elementwise-expression.ipynb
  43. +103 −0 docs/source/release.rst
  44. +1 −0 docs/source/tutorial.rst
  45. +13 −4 ibis/__init__.py
  46. +1 −1 ibis/_version.py
  47. +1 −1 ibis/bigquery/api.py
  48. +1 −1 ibis/bigquery/client.py
  49. +28 −9 ibis/bigquery/compiler.py
  50. +7 −1 ibis/bigquery/tests/conftest.py
  51. +21 −0 ibis/bigquery/tests/test_compiler.py
  52. +8 −4 ibis/bigquery/udf/api.py
  53. +2 −2 ibis/bigquery/udf/core.py
  54. +8 −2 ibis/bigquery/udf/tests/test_core.py
  55. +8 −2 ibis/bigquery/udf/tests/test_find.py
  56. +7 −1 ibis/bigquery/udf/tests/test_udf_execute.py
  57. +1 −1 ibis/clickhouse/api.py
  58. +1 −1 ibis/clickhouse/client.py
  59. +1 −1 ibis/clickhouse/compiler.py
  60. +2 −2 ibis/clickhouse/operations.py
  61. +1 −1 ibis/clickhouse/tests/test_select.py
  62. +230 −48 ibis/client.py
  63. +0 −65 ibis/common.py
  64. 0 ibis/{mapd → common}/__init__.py
  65. +100 −0 ibis/common/exceptions.py
  66. +162 −0 ibis/common/geospatial.py
  67. +4 −0 ibis/compat.py
  68. +242 −89 ibis/config.py
  69. +1 −0 ibis/config_init.py
  70. +6 −2 ibis/expr/analysis.py
  71. +213 −19 ibis/expr/api.py
  72. +277 −16 ibis/expr/datatypes.py
  73. +144 −4 ibis/expr/operations.py
  74. +3 −1 ibis/expr/rules.py
  75. +7 −2 ibis/expr/schema.py
  76. +25 −12 ibis/expr/signature.py
  77. +21 −9 ibis/expr/tests/conftest.py
  78. +37 −27 ibis/expr/tests/mocks.py
  79. +1 −1 ibis/expr/tests/test_analysis.py
  80. +73 −2 ibis/expr/tests/test_datatypes.py
  81. +162 −53 ibis/expr/tests/test_geospatial.py
  82. +19 −1 ibis/expr/tests/test_operations.py
  83. +1 −1 ibis/expr/tests/test_rules.py
  84. +1 −1 ibis/expr/tests/test_signature.py
  85. +42 −7 ibis/expr/tests/test_table.py
  86. +6 −1 ibis/expr/tests/test_timestamp.py
  87. +11 −5 ibis/expr/tests/test_value_exprs.py
  88. +7 −0 ibis/expr/tests/test_visualize.py
  89. +55 −57 ibis/expr/tests/test_window_functions.py
  90. +65 −1 ibis/expr/types.py
  91. +8 −5 ibis/expr/visualize.py
  92. +38 −22 ibis/expr/window.py
  93. +1 −1 ibis/file/csv.py
  94. +5 −2 ibis/file/parquet.py
  95. +3 −0 ibis/file/tests/test_schema.py
  96. +380 −66 ibis/filesystems.py
  97. +2 −1 ibis/impala/api.py
  98. +3 −3 ibis/impala/client.py
  99. +21 −10 ibis/impala/compiler.py
  100. +2 −2 ibis/impala/ddl.py
  101. +2 −2 ibis/impala/kudu_support.py
  102. +1 −1 ibis/impala/pandas_interop.py
  103. +2 −2 ibis/impala/tests/test_client.py
  104. +1 −1 ibis/impala/tests/test_ddl.py
  105. +9 −9 ibis/impala/tests/test_exprs.py
  106. +1 −3 ibis/impala/tests/test_kudu_support.py
  107. +3 −3 ibis/impala/tests/test_udf.py
  108. +2 −2 ibis/impala/tests/test_window.py
  109. +1 −1 ibis/impala/udf.py
  110. +0 −77 ibis/mapd/api.py
  111. +0 −266 ibis/mapd/compiler.py
  112. +0 −101 ibis/mapd/tests/conftest.py
  113. +28 −28 ibis/{mapd → omniscidb}/README.rst
  114. +1 −0 ibis/omniscidb/__init__.py
  115. +105 −0 ibis/omniscidb/api.py
  116. +526 −151 ibis/{mapd → omniscidb}/client.py
  117. +372 −0 ibis/omniscidb/compiler.py
  118. +146 −26 ibis/{mapd → omniscidb}/ddl.py
  119. +8 −7 ibis/{mapd → omniscidb}/identifiers.py
  120. +172 −115 ibis/{mapd → omniscidb}/operations.py
  121. +1 −0 ibis/omniscidb/tests/__init__.py
  122. +179 −0 ibis/omniscidb/tests/conftest.py
  123. +87 −17 ibis/{mapd → omniscidb}/tests/test_client.py
  124. +30 −28 ibis/{mapd → omniscidb}/tests/test_operations.py
  125. +191 −61 ibis/pandas/aggcontext.py
  126. +2 −2 ibis/pandas/client.py
  127. +15 −54 ibis/pandas/core.py
  128. +1 −1 ibis/pandas/dispatch.py
  129. +21 −17 ibis/pandas/execution/generic.py
  130. +1 −2 ibis/pandas/execution/join.py
  131. +1 −2 ibis/pandas/execution/selection.py
  132. +1 −1 ibis/pandas/execution/strings.py
  133. +4 −2 ibis/pandas/execution/temporal.py
  134. +2 −9 ibis/pandas/execution/tests/test_arrays.py
  135. +7 −70 ibis/pandas/execution/tests/test_functions.py
  136. +1 −1 ibis/pandas/execution/tests/test_join.py
  137. +38 −2 ibis/pandas/execution/tests/test_operations.py
  138. +1 −1 ibis/pandas/execution/tests/test_strings.py
  139. +14 −12 ibis/pandas/execution/tests/test_temporal.py
  140. +44 −15 ibis/pandas/execution/tests/test_window.py
  141. +1 −1 ibis/pandas/execution/util.py
  142. +8 −9 ibis/pandas/execution/window.py
  143. +1 −1 ibis/pandas/tests/test_core.py
  144. +176 −28 ibis/pandas/tests/test_udf.py
  145. +120 −97 ibis/pandas/udf.py
  146. 0 ibis/{mapd/tests → pyspark}/__init__.py
  147. +21 −0 ibis/pyspark/api.py
  148. +54 −0 ibis/pyspark/client.py
  149. +1,450 −0 ibis/pyspark/compiler.py
  150. +5 −0 ibis/pyspark/operations.py
  151. +34 −0 ibis/pyspark/tests/conftest.py
  152. +211 −0 ibis/pyspark/tests/test_array.py
  153. +207 −0 ibis/pyspark/tests/test_basic.py
  154. +47 −0 ibis/spark/api.py
  155. +762 −0 ibis/spark/client.py
  156. +385 −0 ibis/spark/compiler.py
  157. +123 −0 ibis/spark/datatypes.py
  158. +246 −0 ibis/spark/ddl.py
  159. +121 −0 ibis/spark/tests/conftest.py
  160. +23 −0 ibis/spark/tests/test_api.py
  161. +81 −0 ibis/spark/tests/test_client.py
  162. +279 −0 ibis/spark/tests/test_ddl.py
  163. +153 −0 ibis/spark/tests/test_ddl_compilation.py
  164. +15 −0 ibis/spark/tests/test_numeric.py
  165. +363 −0 ibis/spark/tests/test_udf.py
  166. +191 −0 ibis/spark/udf.py
  167. +158 −65 ibis/sql/alchemy.py
  168. +5 −7 ibis/sql/compiler.py
  169. +3 −1 ibis/sql/mysql/client.py
  170. +3 −3 ibis/sql/mysql/compiler.py
  171. +3 −0 ibis/sql/postgres/__init__.py
  172. +51 −27 ibis/sql/postgres/client.py
  173. +23 −10 ibis/sql/postgres/compiler.py
  174. +1 −1 ibis/sql/postgres/tests/conftest.py
  175. +29 −1 ibis/sql/postgres/tests/test_client.py
  176. +4 −4 ibis/sql/postgres/tests/test_functions.py
  177. +87 −16 ibis/sql/postgres/tests/test_postgis.py
  178. +246 −0 ibis/sql/postgres/tests/test_udf.py
  179. +3 −0 ibis/sql/postgres/udf/__init__.py
  180. +215 −0 ibis/sql/postgres/udf/api.py
  181. +30 −14 ibis/sql/sqlite/client.py
  182. +3 −3 ibis/sql/sqlite/compiler.py
  183. +1 −5 ibis/sql/sqlite/tests/conftest.py
  184. +6 −5 ibis/sql/sqlite/tests/test_client.py
  185. +5 −12 ibis/sql/sqlite/tests/test_functions.py
  186. +1 −1 ibis/sql/tests/test_compiler.py
  187. +2 −5 ibis/sql/tests/test_sqlalchemy.py
  188. +192 −14 ibis/tests/all/conftest.py
  189. +13 −21 ibis/tests/all/test_aggregation.py
  190. +8 −16 ibis/tests/all/test_client.py
  191. +13 −5 ibis/tests/all/test_generic.py
  192. +364 −85 ibis/tests/all/test_geospatial.py
  193. +19 −26 ibis/tests/all/test_join.py
  194. +31 −0 ibis/tests/all/test_json.py
  195. +86 −2 ibis/tests/all/test_numeric.py
  196. +3 −0 ibis/tests/all/test_param.py
  197. +52 −0 ibis/tests/all/test_string.py
  198. +27 −6 ibis/tests/all/test_temporal.py
  199. +18 −0 ibis/tests/all/test_vectorized_udf.py
  200. +128 −6 ibis/tests/all/test_window.py
  201. +128 −15 ibis/tests/backends.py
  202. +2 −2 ibis/tests/test_version.py
  203. 0 ibis/udf/__init__.py
  204. +45 −0 ibis/udf/vectorized.py
  205. +114 −20 ibis/util.py
  206. +1 −1 pyproject.toml
  207. +7 −3 setup.cfg
  208. +20 −22 setup.py
  209. +8 −6 versioneer.py
263 changes: 0 additions & 263 deletions .circleci/config.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*.swo
*.pdb
.idea
.vscode

# Compiled source
*.a
Expand Down
2 changes: 0 additions & 2 deletions .isort.cfg

This file was deleted.

20 changes: 6 additions & 14 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,25 +1,17 @@
repos:
- repo: https://github.com/asottile/seed-isort-config
rev: v1.7.0
rev: v1.9.2
hooks:
- id: seed-isort-config
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.17
- repo: https://github.com/timothycrosley/isort
rev: 18ad293fc9d1852776afe35015a932b68d26fb14
hooks:
- id: isort
- repo: https://github.com/ambv/black
# we need to use this commit or later, to pickup the fix that splits
# trailing comma syntax into call vs def, both of which weren't implemented
# until python 3.6 (3.5 has just the call syntax) and we need to support
# 3.5 for a few months.
rev: cea13f498418784e22f8fbd78db3f9240a2bad11
- repo: https://github.com/psf/black
rev: 19.10b0
hooks:
- id: black
# a side effect of black running exclude filters and then include
# filters (the built-in black behavior) is that a command line such as
# black --exclude foo.py foo.py will still format foo.py. We avoid this
# in pre-commit by not passing staged files.
pass_filenames: false
exclude: (ibis/_version|versioneer).py
- repo: git://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0
hooks:
Expand Down
Loading