Uploaded image for project: 'Bahir (Retired)'
  1. Bahir (Retired)
  2. BAHIR-257

RedisDescriptorTest add TableFactory sql operate Test

    XMLWordPrintableJSON

Details

    Description

       use flink sql to operator redis ,include create redis sql etc  like bellow:

      tableEnv.executeSql("CREATE TABLE redis (key STRING, number BIGINT) WITH ('connector.type'='redis'," +
      "'redis-mode'='cluster', 'key.ttl' = '70000','command'='INCRBY_EX','cluster-nodes'='" + REDIS_HOST + ":" + REDIS_PORT + "')");

      tableEnv.executeSql("insert into redis select * from t1");

      Attachments

        Activity

          People

            housezhang housezhang
            housezhang housezhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified