Tagged articles
1 articles
Page 1 of 1
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 7, 2021 · Databases

Generating SQL Fingerprints with TiDB SQL Parser

This article explains how to use the TiDB SQL parser to create custom SQL fingerprints by traversing the abstract syntax tree, replacing literal values with placeholders, and restoring the modified tree back to SQL, offering a more maintainable alternative to string‑based approaches.

GoSQL ParserSQL fingerprint
0 likes · 6 min read
Generating SQL Fingerprints with TiDB SQL Parser