Remove some escaped lines

This commit is contained in:
comunodi 2019-02-12 14:27:49 +03:00
parent b50625557b
commit f2eadcfe49
3 changed files with 0 additions and 13 deletions

View File

@ -17,7 +17,6 @@ namespace Poco
namespace DB
{
/// Converts Redis Cursor to a stream of Blocks
class RedisBlockInputStream final : public IBlockInputStream
{
public:

View File

@ -22,7 +22,6 @@ namespace Poco
namespace DB
{
/// Allows loading dictionaries from a Redis collection
class RedisDictionarySource final : public IDictionarySource
{
RedisDictionarySource(
@ -77,9 +76,3 @@ namespace DB
}
#endif
/*namespace DB
{
class DictionarySourceFactory;
void registerDictionarySourceRedis(DictionarySourceFactory & factory);
}*/

View File

@ -409,8 +409,6 @@ def generate_data(args):
") format JSON"
]))['data']
# print json.dumps(table_rows)
# For Integers the first byte of the reply is ":"
# For Bulk Strings the first byte of the reply is "$"
@ -429,9 +427,6 @@ def generate_data(args):
proto_for_redis += "SET " + "$" + key + " " + value_type + str(value) + "\r\n"
# with open("clickhouse_redis.log", "w") as f:
# f.write(json.dumps(table_rows) + "\n" + proto_for_redis + "\n")
open('generated/full.json', 'w').write(proto_for_redis)
result = system('cat {0}/full.json | redis-cli > \\dev\\null'.format(args.generated))
if result != 0: