Neo4j Graph Analytics on Snowflake visualisation

Hi dear community,

I’m trying to test follow Neo4j Graph Analytics on Snowflake trial account using the guide here: snowflake-graph-analytics/modeling-disruptions-subways/README.md at main · neo4j-product-examples/snowflake-graph-analytics

It seems to be working up until this piece of code where I want to visualise the graph:

CALL Neo4j_Graph_Analytics.experimental.visualize(
{
    'nodeTables': ['mta.public.filtered_station_captions'],
    'relationshipTables': {
      'mta.public.relationships_view': {
        'sourceTable': 'mta.public.filtered_station_captions',
        'targetTable': 'mta.public.filtered_station_captions'
      }
    }
  },
  {}
);

But I get the following error:

NotebookSqlException: 100357: Python Interpreter Error: Traceback (most recent call last): File "_udf_code.py", line 7, in <module> from snowball.job_specification import VizProjectConfig, Orientation ImportError: cannot import name 'VizProjectConfig' from 'snowball.job_specification' (/home/udf/11047408113/snowball.zip/snowball/job_specification/__init__.py) in function VISUALIZE with handler visualize

Has anyone seen this or knows how to resolve please? I’ve tried some other test examples but getting the same error at the visualisation step. Thank you!

1 Like

Welcome to the community! I have sent a message to our team to see who would be best to address this.

Hello, this issue was fixed in v1.0.15. Please try executing your call again.

2 Likes

Hi Olga, yep it worked! Appreciate your help and quick response. Thank you and have a nice day.

3 Likes