понять, в чем проблема, не находит данные. 
                  
                  
                  Not found: dictionary.structure.attribute.null_value
                  
                  
                  
                  
                  
                  <dictionaries>
                  
                  
                      <dictionary>
                  
                  
                       <name>maxmind_country_blocks</name>
                  
                  
                        <source>
                  
                  
                           <path>/etc/clickhouse-server/GeoLite2-Country-Blocks-IPv4.csv</path>
                  
                  
                        <format>CommaSeparated</format>
                  
                  
                        </source> 
                  
                  
                       <layout>
                  
                  
                            <ip_trie />
                  
                  
                       </layout>
                  
                  
                       <structure>
                  
                  
                            <key>
                  
                  
                                 <attribute>
                  
                  
                                    <name>network</name>
                  
                  
                                    <type>String</type>
                  
                  
                                 </attribute>
                  
                  
                             </key>
                  
                  
                       <attribute> 
                  
                  
                            <name>geoname_id</name>
                  
                  
                           <type>String</type>
                  
                  
                      </attribute>
                  
                  
                       <attribute> 
                  
                  
                                  <name>registered_country_geoname_id</name>
                  
                  
                                  <type>String</type>
                  
                  
                       </attribute>
                  
                  
                       <attribute> 
                  
                  
                            <name>represented_country_geoname_id</name>
                  
                  
                             <type>String</type>
                  
                  
                       </attribute>
                  
                  
                       <attribute> 
                  
                  
                                  <name>is_anonymous_proxy</name>
                  
                  
                                  <type>String</type>
                  
                  
                       </attribute>
                  
                  
                       <attribute> 
                  
                  
                                  <name>is_satellite_provider</name>
                  
                  
                                  <type>String</type>
                  
                  
                       </attribute>
                  
                  
                    </structure>
                  
                  
                      </dictionary>сам запрос:
                  
                  
                  select IpAddress, dictGetString('maxmind_country_blocks', 'network', tuple(IPv4StringToNum(IpAddress))) from statistics_viewsпробовал на ip из базы, все равно та же ошибка
                  
                  
                
<null_value></null_value> в аттрибуты добавьте
Обсуждают сегодня