Skip to content

Export.json SOQL LIMIT Clause Failing #1306

@nwoolz

Description

@nwoolz

I am having an issue with hardis when adding a LIMIT to the SOQL query in the Export.json. It appears that there is a hard-set LIMIT in the code somewhere that is trying to override the LIMIT that I set in the json file.

Export.json:

{

"sfdxHardisLabel": "AllRFQFiles",
"sfdxHardisDescription": "AllRFQFiles",
"soqlQuery": "SELECT Id,Name FROM RFQ__c LIMIT 200",
"fileTypes": "all",
"outputFolderNameField": "Name",
"outputFileNameFormat": "title_id",
"overwriteParentRecords": true,
"overwriteFiles": true
}

Error:

[sfdx-hardis] [BulkApiV2] SELECT Id,Name FROM RFQ__c LIMIT 200 ORDER BY Id LIMIT 100000
✖ [BulkApiV2] Bulk query error: Query parsing error: unexpected token: 'ORDER'
Error (1): Query parsing error: unexpected token: 'ORDER'

hardis: v5.44.0
CLI: v2.95.6
Windows 10
VS Code: v1.101.2

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