dcmoura / spyql

Query data on the command line with SQL-like SELECTs powered by Python expressions
https://spyql.readthedocs.io
MIT License
918 stars 25 forks source link

Quotes handler bug fix #40

Closed dcmoura closed 3 years ago

dcmoura commented 3 years ago

Increased quotes handler robustness so that non-placeholders are not identified as placeholders. This solves a bug not reported where the self-generated column alias would match the string placeholder pattern.

codecov[bot] commented 3 years ago

Codecov Report

Merging #40 (9a2d9ab) into master (98cffd5) will increase coverage by 0.00%. The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #40   +/-   ##
=======================================
  Coverage   95.39%   95.40%           
=======================================
  Files           9        9           
  Lines         804      805    +1     
=======================================
+ Hits          767      768    +1     
  Misses         37       37           
Impacted Files Coverage Δ
spyql/quotes_handler.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 98cffd5...9a2d9ab. Read the comment docs.