Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for _1 (0.01 sec)

  1. internal/s3select/json/reader.go

    		// order)
    		kvs = v.Value.(jstream.KVS)
    	} else {
    		// To be AWS S3 compatible Select for JSON needs to
    		// output non-object JSON as single column value
    		// i.e. a map with `_1` as key and value as the
    		// non-object.
    		kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v.Value}}
    	}
    
    	dstRec, ok := dst.(*Record)
    	if !ok {
    		dstRec = &Record{}
    	}
    	dstRec.KVS = kvs
    	dstRec.SelectFormat = sql.SelectFmtJSON
    	return dstRec, nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
          | * _1.2_ August 11, 2013
          |
          """.trimMargin()
    
        val request =
          Request(
            url = "https://api.github.com/markdown/raw".toHttpUrl(),
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/PostString.java

      public void run() throws Exception {
        String postBody = ""
            + "Releases\n"
            + "--------\n"
            + "\n"
            + " * _1.0_ May 6, 2013\n"
            + " * _1.1_ June 15, 2013\n"
            + " * _1.2_ August 11, 2013\n";
    
        Request request = new Request.Builder()
            .url("https://api.github.com/markdown/raw")
            .post(RequestBody.create(postBody, MEDIA_TYPE_MARKDOWN))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  4. internal/s3select/select_test.go

    			wantResult: `{"_1":1}`,
    		},
    		{
    			name:       "date_diff_year",
    			query:      `SELECT date_diff(month, '2010-01-01T', '2010-05T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":4}`,
    		},
    		{
    			name:       "date_diff_month_oney",
    			query:      `SELECT date_diff(month, '2010T', '2011T') FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":12}`,
    		},
    		{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  5. internal/s3select/sql/statement.go

    				tmpRec := input.Clone(nil)
    				if err = tmpRec.Replace(val); err != nil {
    					return nil, err
    				}
    				recs[i] = &tmpRec
    			}
    			return recs, nil
    
    		default:
    			kvs = jstream.KVS{jstream.KV{Key: "_1", Value: v}}
    		}
    
    		if err = input.Replace(kvs); err != nil {
    			return nil, err
    		}
    
    		return []*Record{&input}, nil
    	case simdjson.Object:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  6. internal/s3select/json/preader.go

    					} else {
    						// To be AWS S3 compatible Select for JSON needs to
    						// output non-object JSON as single column value
    						// i.e. a map with `_1` as key and value as the
    						// non-object.
    						kvs = jstream.KVS{jstream.KV{Key: "_1", Value: mv.Value}}
    					}
    					all = append(all, kvs)
    				}
    				// We don't need the input any more.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  7. docs/bucket/replication/test_del_marker_proxying.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	for site in sitea siteb; do
    		echo "$site server logs ========="
    		cat "/tmp/${site}_1.log"
    		echo "==========================="
    		cat "/tmp/${site}_2.log"
    	done
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/sitea
    	rm -rf /tmp/siteb
    	echo "done"
    }
    
    cleanup
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. docs/bucket/lifecycle/setup_ilm_transition.sh

    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/multisitea
    	rm -rf /tmp/multisiteb
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/recipes.md

          private val client = OkHttpClient()
    
          fun run() {
            val postBody = """
                |Releases
                |--------
                |
                | * _1.0_ May 6, 2013
                | * _1.1_ June 15, 2013
                | * _1.2_ August 11, 2013
                |""".trimMargin()
    
            val request = Request.Builder()
                .url("https://api.github.com/markdown/raw")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Fri Feb 18 08:52:22 UTC 2022
    - 40.2K bytes
    - Viewed (0)
  10. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/FileTransformerTest.java

            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "hoge.html";
            file = fileTransformer.createFile(path);
            resultFile = new File(fileTransformer.baseDir, path + "_1");
            assertEquals(resultFile, file);
            FileUtil.writeBytes(file.getAbsolutePath(), "abc".getBytes());
    
            path = "hoge.html/hoge2.html";
            file = fileTransformer.createFile(path);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top