Skip to content

dolt_diff() cannot accept a subquery argument #11555

Description

@zachmu

Mostly an inconvenience but good to fix.

SELECT to_id FROM DOLT_DIFF(                                                                              
    (SELECT commit_hash FROM dolt.log ORDER BY date DESC OFFSET 1 LIMIT 1),                               
    (SELECT commit_hash FROM dolt.log ORDER BY date DESC LIMIT 1),                                        
    'myTable');                                                                                              

ERROR: attempted to evaluate uninitialized subquery                                                       

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions