mohayu22 opened a new pull request, #895:
URL: https://github.com/apache/age/pull/895

   **Why:**
   
   While it is a common practice to convert a _string_ to an _integer_ or 
_float_ if it resembles one, this functionality was missing for `pg_float8`
   ```
   SELECT * from cypher('test', $$
       RETURN "1.23"::pg_float8
   $$) as (result agtype);
   
   ERROR:  cannot cast agtype string to type float
   ```
   **Solution:**
   
   - Modified `agtype_to_float8` function
   - Modified the if condition to check for _AGTV_STRING_
   - Added the code for case _AGTV_STRING_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to