mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-10-09 18:10:48 +00:00
Remove some escaped lines
This commit is contained in:
parent
b50625557b
commit
f2eadcfe49
@ -17,7 +17,6 @@ namespace Poco
|
||||
|
||||
namespace DB
|
||||
{
|
||||
/// Converts Redis Cursor to a stream of Blocks
|
||||
class RedisBlockInputStream final : public IBlockInputStream
|
||||
{
|
||||
public:
|
||||
|
@ -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);
|
||||
}*/
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user