Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040975917 > I had the same error showing up, but I worked around it by creating labels separately: > > ```sql > SELECT create_vlabel('graph_store', 'TEST'); > SELECT create_elabel('gr

Re: [PR] Update faqs, meta description, title and images [age-website]

2024-04-05 Thread via GitHub
dpdjvhxm commented on PR #297: URL: https://github.com/apache/age-website/pull/297#issuecomment-2040843125 @MuhammadTahaNaveed Thanks for your feedback and kind help. now I understand how it works but still need to learn about it. I will keep that in my mind. 👍 Thanks -- This i

Re: [PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
MuhammadTahaNaveed merged PR #297: URL: https://github.com/apache/age-website/pull/297 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@a

Re: [PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
MuhammadTahaNaveed commented on PR #297: URL: https://github.com/apache/age-website/pull/297#issuecomment-2040838472 > @MuhammadTahaNaveed > > I check the link and try it. Is that right way to fix it? ![image](https://private-user-images.githubusercontent.com/137974842/320167316-c645c

Re: [PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
dpdjvhxm commented on PR #297: URL: https://github.com/apache/age-website/pull/297#issuecomment-2040836285 @MuhammadTahaNaveed I check the link and try it. Is that right way to fix it? ![image](https://github.com/apache/age-website/assets/137974842/c645c64f-542f-4fcc-a642-ba4d464

Re: [PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
MuhammadTahaNaveed commented on PR #297: URL: https://github.com/apache/age-website/pull/297#issuecomment-2040804163 @dpdjvhxm Thank you for explaining the changes. However, my request was to change the commit message. If you are not familiar about how to change the commit message, please s

Re: [PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
dpdjvhxm commented on PR #297: URL: https://github.com/apache/age-website/pull/297#issuecomment-2040797756 @MuhammadTahaNaveed Thanks for the review Update meta description : gatsby-config.js - description: "Since May 2022, Apache AGE® is a Top-Level Project at the Apache S

Re: [I] Drop extension doesn't drop the ag_catalog schema [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1626: URL: https://github.com/apache/age/issues/1626#issuecomment-2040789194 @jriouovh I will try to look into why this is happening. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [I] Several server crashes when running tests in parallel [age]

2024-04-05 Thread via GitHub
diangamichael commented on issue #1512: URL: https://github.com/apache/age/issues/1512#issuecomment-2040763620 It seems that the server crashes occur when running tests using a specific Makefile setup and iterating through the tests multiple times. Here's a summary of the issue and the step

Re: [I] List comprehension as property constraint of MERGE clause errors out [age]

2024-04-05 Thread via GitHub
diangamichael commented on issue #1611: URL: https://github.com/apache/age/issues/1611#issuecomment-2040762064 To apply a workaround to the query and avoid using list comprehensions in the MERGE clause, you can modify the query to precompute the list before using it in the MERGE clause. Her

Re: [I] Drop extension doesn't drop the ag_catalog schema [age]

2024-04-05 Thread via GitHub
diangamichael commented on issue #1626: URL: https://github.com/apache/age/issues/1626#issuecomment-2040760198 Manually drop the "ag_catalog" schema using the drop schema ag_catalog; command after uninstalling the extension. This bug disrupts the expected behavior of the extension uninsta

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
markgomer commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040426033 I had the same error showing up, but I worked around it by creating labels separately: ```sql SELECT create_vlabel('graph_store', 'TEST'); SELECT create_elabel('graph_store

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040386293 > > I mean, that query works in Neo4j, but I tried it in pg, it doesn't work. Can a label include quotes? > > ``` > > SELECT * from cypher('graph_store', $$ > > MERGE (n1:`TEST

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
markgomer commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040367613 > I mean, that query works in Neo4j, but I tried it in pg, it doesn't work. Can a label include quotes? > > ``` > SELECT * from cypher('graph_store', $$ >MERGE (n1:`TES

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040348479 The behavior in the python driver NOT WORK ``` prepared_statement = """ MERGE (n1:`TEST` {id: 'a\'bb'}) MERGE (n2:`TEST` {id: 'bb\'s abc'})

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040327490 > > Another question, should this work as it in Neo4j? > > ``` > > SELECT * from ag_catalog.cypher('graph_store', $$ > > MERGE (n1:`TEST`{id: 'a\'bb'}) > > MERGE (n2:`TEST`{

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040211383 > Another question, should this work as it in Neo4j? > > ``` > SELECT * from ag_catalog.cypher('graph_store', $$ >MERGE (n1:`TEST`{id: 'a\'bb'}) >MERGE (n2:`TES

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040206690 @noahxzhu > After setting the search_path, now it's working, but why? The search path is needed to see Cypher -- This is an automated message from the Apache Git Serv

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040201016 I still have the problem with the python driver, how to handle it with a param which contains single quotes, I digged into the python code, it do set the search_path, but not works !

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040185888 Another question, should this work as it in Neo4j? ``` SELECT * from ag_catalog.cypher('graph_store', $$ MERGE (n1:`TEST`{id: 'a\'bb'}) MERGE (n2:`TEST`{id: 'bb \'s

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040174819 > > > Can you put double quotes around the string? > > > ```cypher > > > SELECT * from ag_catalog.cypher('graph_store', $$ > > > MERGE (n1:`Entity` {id: 'I'}) > > >

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
markgomer commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040166146 > > Can you put double quotes around the string? > > ```cypher > > SELECT * from ag_catalog.cypher('graph_store', $$ > > MERGE (n1:`Entity` {id: 'I'}) > > MERGE (n2

Re: [I] `MERGE` creates incomplete vertices after the first one [age]

2024-04-05 Thread via GitHub
mingfang commented on issue #1709: URL: https://github.com/apache/age/issues/1709#issuecomment-2040147467 @jrgemignani Confirm fixed. Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to t

Re: [I] `MERGE` creates incomplete vertices after the first one [age]

2024-04-05 Thread via GitHub
mingfang closed issue #1709: `MERGE` creates incomplete vertices after the first one URL: https://github.com/apache/age/issues/1709 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comm

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040141008 > @noahxzhu Did you try using the backslash for the cypher query? Your example above doesn't show it. > > ``` > psql-16.1-5432-pgsql=# SELECT * from ag_catalog.cypher('test', $

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040137056 > Can you put double quotes around the string? > > ```cypher > SELECT * from ag_catalog.cypher('graph_store', $$ > MERGE (n1:`Entity` {id: 'I'}) > MERGE (n2:`Ent

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
markgomer commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040124740 Can you put double quotes around the string? ```cypher SELECT * from ag_catalog.cypher('graph_store', $$ MERGE (n1:`Entity` {id: 'I'}) MERGE (n2:`Entity` {id: "

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040095077 @noahxzhu Additionally, this sounds more like a question than a bug. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2040092230 @noahxzhu Did you try using the backslash for the cypher query? Your example above doesn't show it. -- This is an automated message from the Apache Git Service. To respond to the m

Re: Change default branch for age-website repo?

2024-04-05 Thread John Gemignani
Hi Sebb, Just letting you know that I have brought this email to the attention of those responsible for the website repo. john On Thu, Apr 4, 2024 at 4:32 PM sebb wrote: > Another reason for changing the default branch is that GH search only > applies to the default branch. > > On Thu, 4 Apr 2

Re: [I] `MERGE` creates incomplete vertices after the first one [age]

2024-04-05 Thread via GitHub
jrgemignani commented on issue #1709: URL: https://github.com/apache/age/issues/1709#issuecomment-2040011319 @diangamichael Thank you for your input. However, this issue is a bug and the suggestion is a temporary workaround. This issue cannot be closed until the issue is resolved and @mingf

Re: [I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu commented on issue #1722: URL: https://github.com/apache/age/issues/1722#issuecomment-2039886389 When I use Neo4j, I can create like this, the edge label can also include single quote ![CleanShot 2024-04-05 at 21 59 12@2x](https://github.com/apache/age/assets/8643866/03d3a264-c5

[I] How to handle the param if there're single quotes in it? [age]

2024-04-05 Thread via GitHub
noahxzhu opened a new issue, #1722: URL: https://github.com/apache/age/issues/1722 **Describe the bug** An error is observed when a property parameter includes a single quote. **How are you accessing AGE (Command line, driver, etc.)?** - I'm using the apache-age-python package in

[PR] Update New-web [age-website]

2024-04-05 Thread via GitHub
dpdjvhxm opened a new pull request, #297: URL: https://github.com/apache/age-website/pull/297 Update meta description Update title name in index-page Update Image resource(Landing page banner, Article images) Update FAQ Page: Add Q14 ~ Q17 -- This is an automated mess