mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 17:44:23 +00:00
dbms: added missing file [#METR-2944].
This commit is contained in:
parent
dcf240df8b
commit
5d4d84052f
11
dbms/scripts/geobase_to_regions_hierarchy.pl
Executable file
11
dbms/scripts/geobase_to_regions_hierarchy.pl
Executable file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/perl -w
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
use geobase;
|
||||
|
||||
foreach my $key (keys %Region) {
|
||||
print $key . "\t"
|
||||
. ($Region{$key}->{parents}[-1] || 0) . "\t"
|
||||
. ($Region{$key}->{type} || 0) . "\n";
|
||||
}
|
Loading…
Reference in New Issue
Block a user