Github user white-bee commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/41#discussion_r26190768
  
    --- Diff: 
phoenix-pherf/src/main/resources/scenario/prod_test_unsalted_scenario.xml ---
    @@ -0,0 +1,342 @@
    +<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    +<!--
    +  ~ Licensed to the Apache Software Foundation (ASF) under one
    +  ~   or more contributor license agreements.  See the NOTICE file
    +  ~   distributed with this work for additional information
    +  ~   regarding copyright ownership.  The ASF licenses this file
    +  ~   to you under the Apache License, Version 2.0 (the
    +  ~   "License"); you may not use this file except in compliance
    +  ~   with the License.  You may obtain a copy of the License at
    +  ~
    +  ~   http://www.apache.org/licenses/LICENSE-2.0
    +  ~
    +  ~   Unless required by applicable law or agreed to in writing, software
    +  ~   distributed under the License is distributed on an "AS IS" BASIS,
    +  ~   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 
implied.
    +  ~   See the License for the specific language governing permissions and
    +  ~   limitations under the License.
    +  -->
    +
    +<datamodel release="194" name="PROD_TEST_UNSALTED">
    +    <datamapping>
    +        <column>
    +            <!-- This column type defines what will generally happen to 
VARCHAR fields unless they are explicitly defined or overridden elsewhere -->
    +            <type>VARCHAR</type>
    +            <dataSequence>RANDOM</dataSequence>
    +            <length>15</length>
    +            <name>GENERAL_VARCHAR</name>
    +        </column>
    +        <column>
    +            <type>CHAR</type>
    +            <dataSequence>RANDOM</dataSequence>
    +            <length>15</length>
    +            <name>GENERAL_CHAR</name>
    +        </column>
    +        <column>
    +            <type>DATE</type>
    +            <!--SEQUENTIAL is unsupported for DATE -->
    +            <dataSequence>RANDOM</dataSequence>
    +            <!-- Number [0-100] that represents the probability of 
creating a null value -->
    +            <!-- The higher the number, the more like the value will 
returned will be null -->
    +            <!-- Leaving this tag out is equivalent to having a 0 
probability. i.e. never null -->
    +            <nullChance>0</nullChance>
    +            <minValue>1975</minValue>
    +            <maxValue>2025</maxValue>
    +            <name>GENERAL_DATE</name>
    +        </column>
    +        <column>
    +            <type>DECIMAL</type>
    +            <dataSequence>RANDOM</dataSequence>
    +            <minValue>0</minValue>
    +            <maxValue>1</maxValue>
    +
    +            <!-- Precision is limited to 18 -->
    +            <precision>18</precision>
    +            <!-- Number [0-100] that represents the probability of 
creating a null value -->
    +            <!-- The higher the number, the more like the value will 
returned will be null -->
    +            <!-- Leaving this tag out is equivalent to having a 0 
probability. i.e. never null -->
    +            <nullChance>90</nullChance>
    +            <name>GENERAL_DECIMAL</name>
    +        </column>
    +        <column>
    +            <type>INTEGER</type>
    +            <dataSequence>RANDOM</dataSequence>
    +            <minValue>1</minValue>
    +            <maxValue>50000000</maxValue>
    +            <!-- Number [0-100] that represents the probability of 
creating a null value -->
    +            <!-- The higher the number, the more like the value will 
returned will be null -->
    +            <!-- Leaving this tag out is equivalent to having a 0 
probability. i.e. never null -->
    +            <nullChance>100</nullChance>
    +            <name>GENERAL_INTEGER</name>
    +        </column>
    +        <column>
    +            <type>CHAR</type>
    +            <userDefined>true</userDefined>
    +            <dataSequence>LIST</dataSequence>ID
    --- End diff --
    
    This ID looks like at the wrong spot.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to