Apache SQL analyser 是一个用来将 Apache 的 Web 访问日志存入到数据库的一个小工具。
asql allows you to run SQL queries against log files formatted in the Apache common log file format. You may load multiple log files into a session, then run queries using a full SQL implementation, to find things such as the most common referers to your site, the greediest downloaders, and much more. Internally, each log file is parsed and imported into a temporary SQLite database, so performance is very good.
目录导航 Driver类 编译的过程 代码入口以及过程 利用antlr将HiveQL转换成抽象语法树(AST)。 利用对应的SemanticAnalyzer类,将AST树转换成Map-reduce task。 Driver类 Driver类是hive最核心的类。Driver类是查询的起点,run()方法会先后调用compile()和execute()两个函数来完成查询,所以一个command的查询