{"push_id":2671165322,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"117991535020d89478ed041b9363142a28244d72","before":"4270f75b942e242acc618792e38a677d6a7a9217","commits":[{"sha":"117991535020d89478ed041b9363142a28244d72","author":{"name":"Alexander","email":"dba83e70a642170c75f5650543973cf62e07526f@gmail.com"},"message":"The default timestamp was added for shell_history without timestamp (#4618)\n\nIf the shell history file does not contain a timestamps for the lines\r\nosquery will miss the time in rows and will show an confusing error\r\nabout attempt to convert empty string to INTEGER.\r\n\r\n```\r\n% head -n 3 ~/.zsh_history\r\nls\r\ncd source\r\nls\r\n```\r\n\r\n```\r\nosquery> select * from shell_history limit 1;\r\nI0621 11:56:37.804193 2629124992 virtual_table.cpp:292] Error casting time () to INTEGER\r\n+------------+------+---------+-------------------------------+\r\n| uid        | time | command | history_file                  |\r\n+------------+------+---------+-------------------------------+\r\n| 1868255265 |      | exit    | /home/akindyakov/.zsh_history |\r\n+------------+------+---------+-------------------------------+\r\n```\r\nSo, default value for the time in shell history can solve the problem.","distinct":true,"url":"https://api.github.com/repos/facebook/osquery/commits/117991535020d89478ed041b9363142a28244d72"}]}
{"actor":{"display_login":"akindyakov"}}