madlib-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iyerr3 <>
Subject [GitHub] incubator-madlib pull request: Path: Return results for each match
Date Fri, 25 Mar 2016 01:33:26 GMT
Github user iyerr3 commented on a diff in the pull request:
    --- Diff: src/ports/postgres/modules/utilities/path.py_in ---
    @@ -108,8 +107,11 @@ def path(schema_madlib, source_table, output_table, partition_expr,
                                 nextval('{seq_gen}') AS {id_col_name},
    --- End diff --
    you're right. doing a quick test: 
    select count(*) from (select nextval('seq_test') as id from generate_series(1, 10000000))
     Time: 11975.435 ms
    select count(*) from (select row_number() over() as id from generate_series(1, 10000000))
    Time: 5716.938 ms

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message