Commit Graph

7696 Commits

Author SHA1 Message Date
Manas Agarwal
bdd25f65a5 cli: Adding support for Snowflake UDF
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9545
GitOrigin-RevId: eda0546349a74d5827d924d83bde10b6ab720de4
2023-08-19 09:25:17 +00:00
Rob Dominguez
60593d070b docs: updates to quickstarts after sample app schema change
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10142
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: 846156aa30c24147ff9dee9d43daf604277a1be4
2023-08-18 17:22:47 +00:00
Shahidh K Muhammed
99ceb06f30 docs: update ee page to indicate metrics are also available over otel
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10144
GitOrigin-RevId: a4e746d638d0ebce7609247dc255d3100d26e257
2023-08-18 17:17:28 +00:00
Vijay Prasanna
4320ccd867 console: Allow GDC sources as an option while creating Logical Models/Native Queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10133
GitOrigin-RevId: fa4d3d8b50fce09d6fdc5d6c9b503dccc9ffb54b
2023-08-18 13:48:52 +00:00
Tom Harding
e36985ed67 Describe the minimum IAM permissions for BigQuery
[NDAT-802]: https://hasurahq.atlassian.net/browse/NDAT-802?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10117
GitOrigin-RevId: 290406c5c44f4642d3a8a5b1e56dc894961a4e3e
2023-08-18 13:08:22 +00:00
Tom Harding
32ef306e99 Describe minimum role permissions for Postgres
[NDAT-802]: https://hasurahq.atlassian.net/browse/NDAT-802?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10116
GitOrigin-RevId: f7ab5347f0837c55db69714172196411d2f580f2
2023-08-18 11:26:29 +00:00
Tom Harding
ec8e1bbc45 Describe minimum role permissions for MSSQL
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10122
GitOrigin-RevId: 0d60c402855924753075b69b5670765eecd91f52
2023-08-18 11:18:01 +00:00
kodiakhq[bot]
7258c0ccdc INFRA-832: incremental refactoring PR 2
Some refactorings required for https://hasurahq.atlassian.net/browse/INFRA-832 . No functional changes.

Also included is a small but important un-related bug fix

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10136
GitOrigin-RevId: 5468c5b5b1693c0c3b8781c9fa47191ad66fefca
2023-08-18 10:57:58 +00:00
Varun Choudhary
ae2ae58043 console: scale rs-to-db relationship to support GDC table types
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10085
GitOrigin-RevId: 4123e91a59170ddf942bfcc749f870f707b399e6
2023-08-18 09:43:55 +00:00
Nicolas Inchauspe
fc7216d321 console: Fix tree view not being updated after a datasource name change
[DSF-499]: https://hasurahq.atlassian.net/browse/DSF-499?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10015
GitOrigin-RevId: 061f86d839d34ab8e77b2f08c7e6ba41ba697021
2023-08-18 08:26:28 +00:00
Daniel Chambers
c726b528c4 Add table/function filtering and detail level to schema introspection for Data Connectors to improve performance
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10074
GitOrigin-RevId: 12de7387746f456cbefd9f76e446f56e9e643dc9
2023-08-18 04:29:17 +00:00
Sean Park-Ross
d141303da3 Docs: Fix incorrect column operators
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10105
GitOrigin-RevId: b2fcf8117eeba592b5c73c0b8adc69d6ab2cdb35
2023-08-17 16:23:06 +00:00
Rikin Kachhia
36bd4bf3ac ci: update latest stable release as v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10134
GitOrigin-RevId: cb07b817273adba6226cd7fbe1ad2f696a459b69
2023-08-17 16:16:11 +00:00
Daniel Harvey
f8d60a74a0 chore(server): Table -> Native Query object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10114
GitOrigin-RevId: 0181184d1bc0e851151f86a98c96c97888a10e3e
2023-08-17 15:35:31 +00:00
Brandon Martin
334a133573 Initial Clickhouse documentation
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10104
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 836b823c13f62d9cfd7e1c1e6bcbfdd0c8f88b40
2023-08-17 14:58:17 +00:00
Brandon Martin
0902cddd5f Initial advanced config for data connectors
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10091
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: a74bb822338b5f738884958fd4abaebf8d3a1925
2023-08-17 14:52:44 +00:00
Julian
3b7a601c6e Mongo Permissions: Support nested objects
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10103
GitOrigin-RevId: 13d17090eb746ba163a6a68b38071933f2befcea
2023-08-17 14:47:50 +00:00
Sean Park-Ross
ed8eeec59d Docs: Add ##Introduction where appropriate
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10132
GitOrigin-RevId: 3b89a304c7c66d2a520b6c02478b4f6698d7bb1f
2023-08-17 14:00:18 +00:00
Samir Talwar
15ac52ded4 server: Fix the Analyze feature for SQL Server.
The "Analyze" feature for SQL Server only partially worked. It would show the SQL generated, but not the execution plan. This is because SQL Server doesn't support generating a plan for prepared statements with parameters.

To work around this, we restructure the query as one without parameters. Instead, we replace each parameter with a variable. We declare the variables but don't set values. We then plan _that_, which works.

We run all this in a single query because local variables only last for a single transaction/batch.

This feature does not work for stored procedures.

[NDAT-582]: https://hasurahq.atlassian.net/browse/NDAT-582?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10125
GitOrigin-RevId: a4b45b9b207456ff4fbd1b69b008e93f87346342
2023-08-17 12:51:57 +00:00
Divi
c2dd8ddc59 ci: tag release v2.32.0
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10129
GitOrigin-RevId: b14bf0553e5e20558dd7ab5ae2373efcd1f368c1
2023-08-17 10:06:58 +00:00
Nicolas Inchauspe
65c5ba9700 console: fix No Schema available in explorer & JWT decode
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10111
GitOrigin-RevId: 5b4cd12ce48cbed79119fb3a2f1005b846af490c
2023-08-17 08:43:35 +00:00
Lyndon Maydwell
670509055b Fixing agent documentation for interpolated queries text format
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10127
GitOrigin-RevId: 0c52418a54f27cc66d1e240269a130968aae26fb
2023-08-17 04:35:57 +00:00
Amit
d6b0a9cdb1 Corrected typo - configure-alerts.mdx
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10124
GitOrigin-RevId: e285f7f57a0909a9bda95a23e22029569b60eae5
2023-08-17 02:11:10 +00:00
Lyndon Maydwell
41054de113 Data Connectors Native Queries Support
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9499
Co-authored-by: gneeri <10553562+gneeri@users.noreply.github.com>
GitOrigin-RevId: 1e351556c43e643aa973f87adc0306f076cd227e
2023-08-17 02:05:14 +00:00
Sean Park-Ross
f54034ddf7 Docs: Add OpenTelemetry admonitions to cloud providers
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10099
Co-authored-by: Rob Dominguez <24390149+robertjdominguez@users.noreply.github.com>
GitOrigin-RevId: 03c2171031d78080064f19920931633863fc2620
2023-08-16 13:46:11 +00:00
Sean Park-Ross
a58e0c853a Docs: Fixes side nav in Jupyter doc
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10120
GitOrigin-RevId: 90c71f2e9e83ef2cec3a2d92e2e27a3a2ce5fce3
2023-08-16 09:09:05 +00:00
Rikin Kachhia
25a66a6ef5 docs: refactor logical models / native queries
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10090
GitOrigin-RevId: ead32b051c15f1d04742407b1844a57175497326
2023-08-16 06:08:43 +00:00
Divi
0632256de5 ci: tag release v2.11.10
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10092
GitOrigin-RevId: ff4f4e2a654de1c92bd8c37cbeac455d1c0fd9a6
2023-08-16 05:40:10 +00:00
Vijay Prasanna
b430c40553 console: fix error response parsing for bulk_atomic on the relationships widget
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10096
GitOrigin-RevId: c3be4795e2f58d98b7e1171c7a3b5ac58dcf24f4
2023-08-16 05:27:36 +00:00
Daniel Chambers
131fe3d9e6 Block the use of column redaction where the data connector agent does not support it
[GDC-1292]: https://hasurahq.atlassian.net/browse/GDC-1292?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10108
GitOrigin-RevId: 830102b8cf1e6ad53b9971460dee147b678f008d
2023-08-15 05:13:15 +00:00
Rob Dominguez
9e3e56aea9 docs: update mssql analyze availability
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10112
GitOrigin-RevId: 1cca5259e79aa39a4dc7319db01b1698e296b6a2
2023-08-14 15:39:21 +00:00
Daniel Harvey
c04c4bc0d9 chore(server): Native Query -> Table array relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10100
GitOrigin-RevId: 55f38a904767e1b25916fb31b3c5ece898c10349
2023-08-14 12:35:53 +00:00
Sean Park-Ross
aaa15ca924 Docs: AI section
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10107
GitOrigin-RevId: 2b6c90ad967dd8d8a63e304bfdb5a5a68130c00e
2023-08-14 07:46:33 +00:00
David Overton
7a9e1f6ea6 Order by nested fields
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10082
GitOrigin-RevId: 9c53d7ce3635f442451e04f70f0975ed79a3f4f7
2023-08-14 06:41:50 +00:00
Daniel Harvey
cd324f747b chore(server): Native Query -> Table object relationships
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10098
GitOrigin-RevId: 9b98bb0e285560cd03b04f867d1fa16dadd00df9
2023-08-10 14:23:47 +00:00
Krushan Bauva
d9283e1cac server: add dynamic labels to Prometheus metric hasura_websocket_messages_sent_bytes_total
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9920
GitOrigin-RevId: 7fb49f07d7914d08576dd0062fbea406b897e45e
2023-08-10 11:53:34 +00:00
Krushan Bauva
cb9996d9e5 server: add Prometheus metrics hasura_postgres_connection_init_time and hasura_postgres_pool_wait_time
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10032
GitOrigin-RevId: 696522090a252f8838c31da9ab92e6ed2b5cc5f8
2023-08-10 11:08:42 +00:00
Brandon Simmons
f6bbda77eb pro/server: add monitoring metrics for OTLP traces export
re. https://hasurahq.atlassian.net/browse/INFRA-832

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10080
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
GitOrigin-RevId: 8de1c0a1703037cc9955da01f2593c2db15dc189
2023-08-10 10:35:14 +00:00
pranshi06
75f0629c5d server: change log level to error for triggers in Cloud
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9873
GitOrigin-RevId: 703a16da479d35908a9a8c2862884d11a3135731
2023-08-10 10:04:05 +00:00
Aaysha
b66753175d frontend: Schema registry UI Redesign
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9964
Co-authored-by: nevermore <31686586+OjasWadhwani@users.noreply.github.com>
GitOrigin-RevId: 7269c9d2107479c68dc6c112a34c2c11e2ad0bfe
2023-08-10 09:00:49 +00:00
Auke Booij
465940abc1 server: fix issue with remote schema customisation & null values
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9929
Co-authored-by: Rakesh Emmadi <12475069+rakeshkky@users.noreply.github.com>
GitOrigin-RevId: 60f9c4f99d9229cd0f29763d8055e791837cddf1
2023-08-10 06:42:36 +00:00
Varun Dey
c6aa4e74bb Read config state using computed field
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10089
GitOrigin-RevId: bad2152b9b2a3e1636c42967b1a9cf69fe0cb0ab
2023-08-10 05:36:27 +00:00
Samir Talwar
2d7bb085d5 server: Support _contains and _contained_in in permissions.
We recently added support for the `_contains` and `_contained_in` operators for PostgreSQL arrays. However, they weren't available in permissions.

This adds support for these operators for arrays too.

As these operators are overloaded to work with either JSONB or arrays, no validation is done on the value. If the value is not an array, it will fail when making a query.

[NDAT-806]: https://hasurahq.atlassian.net/browse/NDAT-806?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10075
GitOrigin-RevId: 02e4a57d39ac3303205c37add4186a587f65e409
2023-08-09 15:45:54 +00:00
paritosh-08
ed43fe9863 server/console: fix Apollo Federation UI to extend table types in other subgraphs
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10071
Co-authored-by: Varun Choudhary <68095256+Varun-Choudhary@users.noreply.github.com>
GitOrigin-RevId: 5acbc792fd8b3fd9ae6a02ea740b3e13040b9c72
2023-08-09 12:55:14 +00:00
Tom Harding
29bb76d6d3 Fix inherited roles leaking supposedly-hidden data via aggregation predicates for BigQuery
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10049
Co-authored-by: Philip Lykke Carlsen <358550+plcplc@users.noreply.github.com>
GitOrigin-RevId: d0af2d29e29111097e17033e10c41d668eb5a351
2023-08-09 11:52:58 +00:00
Vijay Prasanna
79501fd7cb console: remove typo from relationships list
## Description
Remove an typo from the relationship details list

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10086
GitOrigin-RevId: 5ddc2af0f5b0a59b9bd3ef410b5e1dc6cd619a19
2023-08-09 10:41:57 +00:00
Rob Dominguez
3ec1e5e2da docs: add alerting subdir for cloud monitoring
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9711
Co-authored-by: Toan Nguyen  <1615675+hgiasac@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: a77346d408530d6802fac49109499d0842defd4f
2023-08-09 10:08:33 +00:00
Rob Dominguez
378aba7588 docs: transform vectordb page into subdirectory
[DOCS-1197]: https://hasurahq.atlassian.net/browse/DOCS-1197?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10078
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
GitOrigin-RevId: e1e218318c115c469b7e90cd4b2fbb4b2bbbd767
2023-08-09 10:03:02 +00:00
Varun Choudhary
975b905999 console: update openTelemetry docs link from console
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10012
GitOrigin-RevId: b804d84f53ffbee23b5a2c2f490d065bd0552031
2023-08-09 09:07:57 +00:00
Divi
91f010e84c ci: tag release v2.32.0-beta.1
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/10083
GitOrigin-RevId: 4d4e7c67f5a3d48df5d45077ceea59cebfec06e3
2023-08-09 07:55:42 +00:00