Project

General

Profile

Actions

Bug #23583

closed

Broken parsing of some complex expressions

Added by Alexis Mousset about 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql
compiler: rudderc
fallbacked: false
resultCode: 1
msg: 'Exit code=1 for technique: ''/var/rudder/configuration-repository/techniques/ncf_techniques/Single_database/1.0''.'
stdout: |2
          Read 204 methods
   WARN rudderc::compiler: Error parsing 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql': Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }
     Compiling Single database v1.0 [Linux]
         Wrote target/technique.cf
     Compiling Single database v1.0 [Windows]
  ERROR rudderc: Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }

  Caused by:
      Invalid expression 'echo "GRANT ALL ON ${db_name}.* TO '${db_user}'@% IDENTIFIED BY '${database.secret[password]}'" | mysql mysql' with Error { input: "${database.secret[password]}'\" | mysql mysql", code: Eof }
stderr: ''
Actions

Also available in: Atom PDF